Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to assign different images to particular node in the database environment?

0
Posted

How to assign different images to particular node in the database environment?

0

Our ASP-based database sample included into the Pro package does not support individual image set assigning. But it is not very hard to modify this sample and add images support. Generally, you have to create some table with two fields integer ID and text IMAGESET, and then fill in couple of imagesets (just like they should appear in the tree_nodes.js). Then you have to add integer column IMAGESET to the TREEMENU table, and fill this field with ID value from IMAGESET table (only couple of nodes, for testing purposes). Then you have to modify ASP file: subroutine DrawNode should also query corresponding IMAGESET field from imagesets table, and if this field is not null then print it out as fourth parameter. That’s it. If you don’t to deal with all this stuff by yourself then you can ask technical support to give you ready code (it is not yet included into COOLjsTree PRO package, but eventually will be).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123