Serialized Data is invalid [DHTMLx-TreeGrid]

Hi,



the output of your serialized data is invalid. If i have a treegrid with child-rows are not closed properly. The second thing is, that the CSS-Classes are not serialized. I gave some Rows a CSS-Class and this information is not serialized.



Please give me some information how to realize this problem.



Here is an example:



HTML-Code:

---------------







    

        

        

        

        

        

        

        

        

        

        

    

    

        



                

                    

                

                

                    

                

            


                        


                    


                            Export

                    




            

            



    





Here is the original XML-Data:

------------------------------------



<?xml version="1.0"?>





 

1



    px









        Ergebnis

        2

        

        

         3

        







If i have a treegrid with child-rows are not closed properly
Problem confirmed and fixed - please contact us directly at support@dhtmlx.com and provide your ref. number - we will send you an updated js file.

>>I gave some Rows a CSS-Class
class and style attributes not included in final serialization, this is expected behavior.

Hi,

is it possible to code this behavior?

with latest version of grid (sent by email ) you can add next code grid init
grid.xml.row_attrs=[“class”];
it will force adding class attribute to the result XML

Hi,

styleclass is exported fine (except the thing, that if no class class is given ‘undefined’ is exported). But the major bug with the invalid xml after is not fixed in the file you sent to me.

regards

Marcel

Working sample, which uses the same init code and XML, was sent by email.