I am using SmartGWT 2.4 and would like to have a grid that includes a field that displays the row number. I realize I can turn on setShowRowNumbers but I also need this row number sequence to be stored in my database. The grid will also allow drag and drop from external components as well as internally in order to reorder records. I would like the row number field to auto-renumber from 1 to x in those situations. I have tried adding an onDrop event handler that loops through the ResultSet and manually sets this value but it appears the sequence of records returned by the index is not in the new order (ie after the drop).
Any suggestions?
Any suggestions?
Comment