My problems and questions! Setting icons, paging tree

Hi,

I am trying Dhtmlxtree for my needs in a web application. I downloaded free version and started to create some pages and found it very light and useful. During my experience in using Dhtmlxtree, I faced some issues:

  • Default parameter for the node id to pass to the server is “id” which can cause some problems. I think it would be better to be something like “nodeId”.

  • The only way to set node’s icon is to set the “imX” attribute of node with clear name of the image. I think it was far better if it could be a CSS class containig “background-image”.

  • I could not find a way to set “style” attribute with a CSS class and also no other attribute that takes all styles as a CSS class, if there is, please help me find it.

  • When creating new node using “insertNewItem” -or similar methods, there is a parameter that takes a function name for “onClick” action, But in dynamic mode I didn’t find any attributes that would be treatened like that. If I’m wrong please inform me.

  • Is there any feature to make a “paging tree”? I mean, If I have 100 child nodes, is it possible to show for example 10 nodes and a pagination bar?

Thanks for your fabulous Components!

Hi

  1. if you use PROF edition, there is a method setXMLAutoLoadingBehaviour(mode), and you can set your custom function
  2. this is an interesting idea, we will think about it
  3. in PRO edition you can use tag with differet style attributes: dhtmlx.com/docs/products/dht … _html.html
  4. locally we can’t reproduse this issue - event fires well
  5. there is no ready features for such mode, but we have TreeGrid with pagin (in PRO version)