Hi!
I have an eval version of dhtmlx suit that valid till 9th of october. I need to use OnRowSelect event but it doesn’t work form me. Here is a sample how I use it:
var companiesGrid = layout.cells("a").attachGrid();
companiesGrid.setHeader("Id,Name,Email");
companiesGrid.setColumnIds("CompanyId,CompanyName,Email");
companiesGrid.setInitWidths("250,250,*");
companiesGrid.setColAlign("left,left,left");
companiesGrid.setColTypes("ro,ro,ro");
companiesGrid.setColSorting("str,str,str");
companiesGrid.init();
companiesGrid.load("company_grid_load_data.php");
companiesGrid.attachHeader("#text_filter,#text_filter,#text_filter");
companiesGrid.attachEvent("onRowSelect", function(id,ind){
dhmlx.message("a row selected");
});
What did I do wrong? Thx in advance