TreeView events and icons

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

I am using a treeview populated from a database and I don’t see the following events firing.

NodeMouseClick
NodeMouseDoubleClick
AfterCheck (BeforeCheck fires)

Also I cannot see any expand/collapse icons.

I’m using 1.2.51 and Classic-2.

Best,
Alex

  • You must to post comments
0
0

Hi Alex,

both issues (WJ-7593 and WJ-7594) are fixed in the latest build (1.2.62).

Best regards
Frank

  • You must to post comments
0
0

Sure, also when you want to “load on demand” you can set the node.IsParent = true. This will make the node look like it has children, then when you expand it you can process the BeforeExpand event to populate the child nodes – in the meantime Wisej will change the node icon to a small ajax loader.

  • You must to post comments
0
0

Hi Luca,

No problem, I had other things to keep me busy in the meanwhile!

Now I’m thinking again about the expand/collapse icons… I only load the first level of my treeview from the database and then I populate each of this top level nodes on click (which does not fire as you confirmed). This means that at first, the nodes have no subnodes until they are clicked and get populated. So, I presume, this is the reason why I cannot see the expand icon. I’ll check again after the click event is fixed.

Thanks,
Alex

  • You must to post comments
0
0

Hi Alex,

Sorry for the delay. Somehow Frank and I didn’t see the question coming in.

NodeMouseClick and NodeMouseDoubleClick are indeed not firing: WJ-7593

I get BeforeCheck and AfterCheck twice actually: WJ-7594

Tried with Classic-2 and I can see all the icons.

Best,

Luca

  • You must to post comments
Showing 4 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json