Announcement

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

    Insert editRow in TreeGrid

    Hi,
    I'am using Smartclient 7.0 RC2 . I have two questions on the API .
    1.Does the API support inserting an editable row in between two existing records of a Tree grid .
    2. Is the same possible for regular Listgrid also ?

    Thanks,

    Vignesh.

    #2
    With a databound ListGrid or TreeGrid, the only way to do so is to add a new record to the dataset (addData()) such that when cache sync updates the dataset, the new record will appear where you want via sorting.

    With a non-databound ListGrid or TreeGrid, you can modify the data model directly (eg Tree.addNode(), Array.addAt()).

    Comment

    Working...
    X