Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 03, 2008 05:29
open dhtmlx forum
FireFox JS error

I got:

el is null (dhtmlxgrid.js line 150 /version 2.0 pro)

I have 2 grids: one (main) has first column defined as sub_row, Im using sub_row_ajax and by ajax load whole new grid and put in in the sub_row.
I know I can use sub_row_grid but I need some functionality that requests JS grid initialization.

Error popup when i try to expand row and get sub_row_ajax is executed
Beside this error everything works fine.

Any ideas?
Answer posted by Support on Nov 03, 2008 05:47
>> I need some functionality that requests JS grid initialization.
Grid has two events, which occurs during sub-grid initialization, and can be used to enable specific modes for subgrid.
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Sub_rows_new_data_dim.html#grid_subrowsndd

>>el is null (dhtmlxgrid.js line 150 /version 2.0 pro)
The line , which you mention related to the context menu logic, and must not be executed during the sub_row loading. 
If issue still occurs for you - please try to use dhtmlxgrid.js from source folder, it will provide correct error line, or , if it possible - send any kind of sample where error can be reconstructed to support@dhtmlx.com