Announcement

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

    TreeGrid editing confusion

    I have added
    TreeGrid.addRowEditorExitHandler (new RowEditorExitHandler()
    {
    public void onRowEditorExit (RowEditorExitEvent ev)
    { ...

    on my overwriten TreeGrid, but the editor is not closing now.
    even if I call TreeGrid.cancelEditing () or TreeGrid.endEditing ()

    The RowEditorExitEvent does not work in my code.


    also I have a code like this:
    TreeGrid.getTree().add (nodeBook, root);
    TreeGrid.selectRecord (nodeBook);
    TreeGrid.openRecordEditor (nodeBook);

    and the openRecordEditor replies with:
    (TypeError): type: undefined_method arguments:
    getNodeDataSource,[Tree ID:isc_OID_71]



    I spend all my day trying to figure out what is happening with no result.
    is there an example of TreeGrid editing where I could use as tootorial?

    #2
    Editing via a "recordEditor" (the openRecordEditor API) is an experimental feature unrelated to normal inline editing, which is controlled by setCanEdit(true). With normal inline editing the rowEditorExit event show fire, post a standalone test case if you aren't seeing this.

    Comment

    Working...
    X