Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tep on Jun 29, 2008 17:40
open dhtmlx forum
add custom property on dhtml obeject/row

Hi,

I am using dhtmlxgrid..the thing is i want to create a custom property where i can hide data..
i am using row id for reference, but i need another property which basically stores information about the grid..

for example..i want to add a color property where i can store the color and retrieve it anytime..this is an example though, i am not looking to store the color, what i am going to store is an integer, so that i can group rows..what i need is another property for the rows so that i will be able to group the rows, like group 1, group2, etc.

hope you can help me on this..
thank you in advance..
Answer posted by Support on Jun 30, 2008 01:45
>>i am using row id for reference, but i need another property which basically stores information about the             
        http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Storing_additional_data.html

>>so that i will be able to group the rows, like group 1, group2, etc.
The document above describes the ways to store additional data, but built in grouping will work only against column values and will not work for custom attributes.