Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dilip on Sep 01, 2008 06:00
open dhtmlx forum
about id of Grid

<NewDataSet>
<Table>
<RegionId>133</RegionId>
<CountryCd>IND</CountryCd>
<RegionCd>AP</RegionCd>
<RegionSeries>A</RegionSeries>
<RegionName>Andhra Pradesh</RegionName>
<IsActive>true</IsActive>
<CreatedBy>SoftPal</CreatedBy>
<CreatedOn>2008-11-08T00:00:00+05:30</CreatedOn>
<ModifiedBy>SoftPal</ModifiedBy>
<ModifiedOn>2008-11-08T00:00:00+05:30</ModifiedOn>
</Table>
<Table>
<RegionId>134</RegionId>
<CountryCd>IND</CountryCd>
<RegionCd>CAA</RegionCd>
<RegionSeries>E</RegionSeries>
<RegionName>Calcutta</RegionName>
<IsActive>true</IsActive>
<CreatedBy>SoftPal</CreatedBy>
<CreatedOn>2008-11-08T00:00:00+05:30</CreatedOn>
<ModifiedBy>SoftPal</ModifiedBy>
<ModifiedOn>2008-11-08T00:00:00+05:30</ModifiedOn>
</Table>
</NewDataSet>

my XML string like shown above
using this am populating the DHTML Grid
it is autogenerated in C#.net

but am un able to set the custom id of row
is necessary that it should be as attribute or any other choice to set the custom id
plz suggest me
Answer posted by Support on Sep 01, 2008 06:05

Existing logic allow to define ID only through attribute, there is no way to define it through separate tag.
The logic can be changed by some code modification or by implementing custom loading type. 
        http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_loading_types.html#grid_art_custloadtypes