1. Simone Olianti
  2. PowerBuilder
  3. Friday, 3 August 2018 10:33 AM UTC

hi there, i am using pbdom to parse a XML string and then using it to populate a treeview.
I'm experiencing an "issue" when the string content of an item is more than 260 characters. It looks like the treeview truncates the label to 260. Do you guys confirm that there is a limitation on the treeview label?
Is there a known workaround or at least another way to store a larger value on a treeview item even if not visible?

 

tia

Attachments (1)
Accepted Answer
Kevin Ridley Accepted Answer Pending Moderation
  1. Friday, 3 August 2018 11:23 AM UTC
  2. PowerBuilder
  3. # Permalink

Can't answer the char limit question but have you also tried the treeview datawindow as an alternative?  It's a lot easier to use than a treeview control and has all of the datawindow events and functions we all know and love, and may solve your issue with the label size.  Either way, it's worth a shot to try it.

 

Kevin

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 3 August 2018 18:34 PM UTC
This is very good advice!
  1. Helpful
There are no comments made yet.
Simone Olianti Accepted Answer Pending Moderation
  1. Friday, 3 August 2018 11:28 AM UTC
  2. PowerBuilder
  3. # 1

i'm not yet familiar with treeviews or datawindow treviews but i think i have found a solution myself.

Instead of using the treeviewitem label (probably it's really limited to 260 chars), i tried to use the treeviewitem data field where i can finally store whatever i need.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.