Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ca on Dec 22, 2009 12:57
open dhtmlx forum
onOpenStart

hello,

    mygrid.attachEvent('onOpenStart', function (rowId, state)
    {
        alert('OpenStart Row '+rowId+' State '+state);
        if (mygrid.hasChildren(rowId) == -1)
        {
            alert('Please wait ...Thank You');
        }
        return true;//pings the backend
    });

once I return true, the openStart method does not get called again. How can I reset the true/false state so it hits onOpenStart on subsequent clicks.


thanks
ca
Answer posted by dhxSupport on Dec 23, 2009 01:45
Unfortunately we cannot reproduce this issue locally. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxTreeGrid/samples/03_nodes_rows_manipulations/06_treeGrid_open.html