Profile Picture

Errors in NTreeListControl

Posted By Pavel Kozak 14 Years Ago
Author
Message
Pavel Kozak
questionmark Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 10, Visits: 1
I encountered the following error if I:
1. fill list
2. Swap channels or add grouping
3. call Nodes.Clear ()
4. fill again
while the list is filled correctly, but when you try to change the column width or swap them, I get an exception:

Unable to bring the type of object "Nevron.UI.WinForm.Controls.NTreeListGroupByNode" to type "Nevron.UI.WinForm.Controls.NTreeListHeaderItem".
or
Unable to bring the type of object "Nevron.UI.WinForm.Controls.NTreeListNode" to type "Nevron.UI.WinForm.Controls.NTreeListHeaderItem".

And the second question, if I added a grouping of fields and add new entries to the list, then they are added without regard to factions, ie, the end of the list.

Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hi Pavel,

Can you send me an example application on angel at nevron dot com that demonstrates the problem, because I cannot reproduce it.

Thanks.

Regarding the second question you should call BeginGrouping method before add the new entries and when you finish you should call EndGrouping(true) method.

Regards,

Angel.



Pavel Kozak
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 10, Visits: 1
I can not exactly send the application which was faced with this problem (it is a client-server system), but I sure will prepare another small program as an example. I can send it only 24 or 25 February.



Similar Topics


Reading This Topic