Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

TreeGrid with custom icons and showCustomIconDrop not showing drop icon

$
0
0
Version: SmartClient v100p_2014-11-02_Pro

Browsers: Chrome and Firefox

I have a TreeGrid and I am assigning custom node icons based on the data in each record by overriding the "getIcon(node)" method of the TreeGrid.

I have images available in the same folder as the primary icon images with "_drop" added to the filename for each custom icon, and have set "showCustomIconDrop" to true on the TreeGrid.

But I am still not seeing the drop icon when I hover a drop record over a node.

I have tried the TreeGrid in a stand alone page by itself to make sure there wasn't something else going on elsewhere in the layout.

In case it's relevant: I'm also overriding the "isFolder(node)" method of the Tree to return true for every node so that they are all folders and can all accept child drops. I am loading the data through a fetch to a datasource.

I have also attached a text file to this post with my full TreeGrid code.

Thanks for the help!

Attached Files
File Type: txt TreeGrid.txt (1.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles