Hi,
I have a toolbar and grid displaying file-list.
When I click on a toolbar button, I want to take action on the selected file(s). What event I should attach and how? Please help!
Thanks,
Dhanan.
Hi,
I have a toolbar and grid displaying file-list.
When I click on a toolbar button, I want to take action on the selected file(s). What event I should attach and how? Please help!
Thanks,
Dhanan.
Hi,
you may set onClick toolbar event and use getSelectedId method to get the id of grid selected row:
toolbar.attachEvent(“onClick”, function(itemId) {
var rowid = grid.getSelectedId();
/…/
});
Hi Alexandra,
Thank you so much!
Dhanan.