|
|
| Table on a Structure Overview: Since WinDev 14 Tables can not only be fed from a data file, a query or be a memory Table, Tables can now be fed from a structure too. This test project tries to show how a structure drives a Table, how data can be read into the structure. A big disappointment though: the Table does not change any of the structure’s data automatically as expected! There is a checkbox in the Table for ‘save during row exit’ - but nothing is actually saved! I’d call this a bug. At least it is a bug not to document and explain that it is actually not saving any data. However, the demo project below shows how data can be read into a structure from a file, how the structure’s data are displayed in the Table and how the structure is synchronized with the Table’s data. Especially for sorting the Table’s data, the sort has to be done on the structure first and then to be displayed in the Table. Clicking the Table’s column header for initiating a sort is caught using an event - no Table-Sort is actually performed. Lastly the data can be written back from the structure to the file. The interesting feature of this project is that one can manually move table rows up / down and the sequence of rows will be preserved. Maximum 40 Table rows are supported in the file. Download:http://www.windev.at/files/WD14TableTest.zip
|
|
|
|