Dynamically Adding Rows
Ideally I want to poke a "rowAdded()" function which calls the existing methods for pulling cell data - or even better, a "addRow(dataField0,dataField1...)" function to add a row with the data provided.
I would actually much prefer a table which I could generate the column headers for and manually add the rows to.
Any ideas as to how to accomplish this? Binning the table control and rebuilding it each time is getting very very slugish when there are more than 50 rows!
Unfortuantly the code refreshed ALL the items in the table. Not good, as it starts to take 10+ seconds to refresh with 100 items ... can it not just add items to the pre-exisitng dom?
obj.setRowProperty("count", obj.getRowProperty("count") + 1);
myData[myData.length] = ["", "", ... ,""];
I, too, need this feature and will lokk into it, and post a solution if/when I find it.
Is there descent way of adding rows dyanmically to an existing grid? I have looked through the form and there doesn't seem to be a straight answer. Again, I do not want to refresh the whole grid after adding few rows.
One possible solution/(illustion of adding rows) is to
have a simple HTML table and dynamically create rows in the table.
In each row created, insert a grid there (hiding the scroll bars and headers). Leave the header for only the top grid.
Is there a better way?
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.