Hello,
I have a query about grid with subgrid…
I am loading grid with subgrid with custom xml .ie. xmlB format
in my code like…
mygrid.parse(“xmlString”,“xmlB”);
My custom xml string consists of xml required for parent grid as well as for child grid…
I am able to load the grid… but the plus icon gets invisible…
So that I am unable to view the contents of my subgrid…
So please tell me ,Is there any way to resolve this problem?
so that i can view my subgrid inside my main grid using same input…
The icon shown when
- cell has sub_row_* type ( dhtmlxgrid_excell_sub_row.js included )
- cell has some non-empty value
So if you correctly defined type and had some value provided - cell must render plus icon.
In case of custom sub-grid loading type you will need use onSubGridCreated event to init such grid with data
Hi,
Yes I have done the above i.e. columnType is sub_row_grid and included the js file and my cell has non empty value…
Only difference is that if my cell has some value like # / alphanumeric then it works…
but if my cell has value as xml itself it does not work… I am using professional edition where would the fix be ?
i…e my cell has value
dadarmumbai
Please try instead of
dadarmumbai
use
<![CDATA[
dadarmumbai
]]>