PDA

View Full Version : Grid Refresh



Chris Spencer
14-Nov-2015, 10:28 PM
I am sure this has been raised before

To refresh a List after constraints have been rebuilt I still need to do this



Send ClearGrid <--------------------- // need this
Send GridRefresh
Send MovetoFirstRow


GridRefresh without the clear does not refresh the list correctly

Harm Wibier
16-Nov-2015, 05:51 AM
Replace the entire thing with one of the Find... functions of cWebList.

FindDDRecordInBuffer - Procedure Finds the record in the buffer and rebuilds the list
FindFromBottom - Procedure Will cause the grid to be refilled, starting at the bottom of the grid
FindFromTop - Procedure Will cause the grid to be refilled, starting at the top of the grid

The functions you use are not meant to be used with data aware lists / grids.

Chris Spencer
16-Nov-2015, 06:36 PM
Harm

Ok thanks for that info

Problem fixed