Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    About ListGrid get Data

    Hi,

    I find that if we fetch data into ListGrid from DB, then we can use following code to get record...

    Code:
    listGrid.getRecordList();
    listGrid.getRecords();
    However, if we just use the ListGrid to add the unsaved data into ListGrid, and use the same method to get record. It seems we can not get it.

    Code:
    listGrid.setAutoSaveEdits(false);
    
    // Inside an button onclick event, we add following code
    listGrid.startEditingNew();
    
    // Use following to get unsaved record, but we can not get the record.
    listGrid.getRecordList();
    listGrid.getRecords();
    In fact, if I want to get record from unsaved records in ListGrid, how can I do this ??
    Many Thx for your help.

    #2
    Look at ListGrid.getEditValues()

    Comment

    Working...
    X