« Return to Thread: FilteringTable double click

Re: FilteringTable double click

by sandeepa :: Rate this Message:

Reply to Author | View in Thread

Thanks for the sample. Here's what i was trying earlier which did not work

var varTable = dojo.widget.byId("dataTable");
for (var i = 0; i < data.length; i++) {
        var bundle = data[i];
        var rowEntry = {
            Id: i,
            name: bundle['name'],
            runValue: bundle['runValue'],
            nodePath: bundle['nodePath'],
            state: bundle['state']
        }
        rows.push(rowEntry);
        dojo.event.connect(rowEntry, "ondblclick", table, 'onVariableSelect');    

    }
    varTable.store.setData(rows);
}

I am yet to try with your sample.

Thanks
Sandeep

 « Return to Thread: FilteringTable double click