Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul K on Aug 06, 2008 18:20
open dhtmlx forum
Tooltips are not serialized

When I serialize a tree that has tooltips, the tooltips are not serialized to the XML document. This is how I set the serialization level:

theTree.setSerializationLevel(true,true,false,true,false);

Other attributes of the tree nodes, such as images (im0, im1, etc.) are saved but I don't see the tooltips in the XML file.

What other tree attributes are not serialized?

Paul
Answer posted by Support on Aug 07, 2008 03:03
In default mode tree includes next attributes in serialization
 id
 open
 select
 text
 child

In "full" mode it includes
  id
  open
  select
  text
  im0
  im1
  im2
  aCol
  sCol
  checked
  closeable
Answer posted by Paul K on Aug 07, 2008 09:32
Since it's not possible for me to reconstruct the tooltips when the tree is being loaded, I consider not serializing them to be a bug.

Paul
Answer posted by Support on Aug 08, 2008 01:59
There are a lot of secondary attributes which not serialized. 
The goal of searilization - generate tree description which can be used for server side processing, the tooltips is a secondary attributes, which can't be changed by user actions, so they not included in serialization.