Announcement

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

    AutoFetchData in ListGrid

    Hi,

    Initially, I set the ListGrid with auto-fetch be false.

    Code:
    listGrid.setAutoFetchData(false)
    Then I add button, as user click it the new dataRecord appear in ListGrid for user to enter the data that they want

    Code:
    listGrid.startEditingNew();
    HOWEVER, the data in DB are fetched and show on ListGrid.
    How can I set that As startEditingNew, the data in DB will not shown on ListGrid.

    Many Thanks for your help.

    #2
    You may be calling fetchData() elsewhere or in some other way triggering a fetch. startEditingNew() on its own does not have this effect (try adding it to a sample).

    Comment

    Working...
    X