onRowSelect event doesn't fire

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

Unfortunately the issue cannot be reproduced locally.
Please, make sure that you don’t block the selection in your grid with onBeforeSelect event.

If the problem still occurs for you, please, provide with a more detailed sample of your code or a demo link/complete demo, where the problem can be reconstructed.