<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello,<br><br>I want to create a page template who provide a dynamic table, <br>in the first step my user can choose his table from a list (the first page template) when he validates his choice he can see another page template whith his table.<br>in the second step he can create his own table by selecting the rows and columns.<br><br>I create a script python for yeilding the column name of the original table in a list like getColumnName() =>[('id'),('title'),('address')]<br>and the data like getColumnData => [(1,), ('vincent ',), (1233,), (2,), <br>('nicolas ',), (2222,), <br>(3,), ('nani ',), (3333,), <br>(4,), ('roby ',), (4444,), <br>(5,), ('aaaa ',), (7777,), (6,),
<br>('bbbb ',), (8888,), (7,), <br>('cccc ',), (9999,), (8,), <br>('dddd ',), (1414,), (9,), <br>('eeeee ',), (17484,), (10,), <br>('eeeee ',), (17484,), (11,), <br>('eeeee ',), (17484,), (12,)]<br><br>now in my the zpt <br><br><tr><br> <th></th><br> <br> <div tal:define="results context/columnName" tal:repeat="results python:here.getColumnName()"><br> <br> <span
tal:condition="results"></span><br> <th><input type="checkbox" id="selectedColumn" /></th><br> </div><br> </tr><br> <br> <tr bgcolor="#ece9d8"><br> <th></th><br> <th tal:repeat="col_name python:here.getColumnName()"> <br> <span tal:replace="col_name"/><br> </th> <br> </tr><br> <br> <tr align="right" bgcolor="#ffffff" tal:repeat="item batch" ><br> <td bgcolor="#ece9d8" length="0.5" ><input type="checkbox"
id="selectedRow"/></td><br> <br>here i want to put the data <br><br> </td><br> <br> </tr> <br> <br><br>My question how i can fill my grid table with the data (by using my script python).?<br>When the user select the rows and colums how i can obtain the cell choosed for create the new table?<br><br>thanks for all suggestions<br> G.<br><br></div></div><br>
                <hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>