I’m trying to create a subgrid inside a grid. I am adding the rows to the subgrid using JS like attaching an event to the main grid. But it this is not working for me. Could you please provide a solution to this.
We tested your code and it works without errors. Please provide detailed information how is not sub grid not working?
I couldn’t see the sub grid on click of the + icon, but the data is present in some random fashion without the sub-grid header. And also, the height of the sub grid row is more than the actual required height even though I have added only a single row to the sub-grid.
Except the sub grid everything is working fine. I could not see the subgrid after clicking the + icon. Also it is giving a JS error saying ‘tagName is null or not an object’ dhtmlxgrid_form.js Line 23 in IE 8.
If I don’t initialize the subgrid by removing the subgrid.init() then it gives no JS error.
Am I missing some dhtmlx JS and CSS files which are supposed to be included in the jsp page. Pls let me know what are the files that are actually needed in this case.
Please contact email@example.com and provide full example where we can reproduce this issue including files which you are using to initialize grid.