Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Column Text in Tree

Former Member
0 Likes
485

How to change the column text in a tree automatically? when the column length is very small, it should show the Heading from the Data Element.As the column length increases, column header should be Short Label,Medium Label,and long field label??

How to change the column text in a tree automatically? when the column length is very small, it should show the Heading from the Data Element.As the column length increases, column header should be Short Label,Medium Label,and long field label??

3 REPLIES 3
Read only

Former Member
0 Likes
438

Hi Nikhil,

You can ofcourse change the column text of a tree by calling the refresh method of the tree class you are using.

is this what you wanted?

Regards,

kinshuk

Read only

0 Likes
438

Actually i want to change it automatically.if i change the length of coumn in the screen itself,it should take the text from the field labels of data element, depending upon the lenth of the column width

Read only

0 Likes
438

Hi Nikhil,

Which class are you using to create the tree?

what i feel is when you change the column length at the same time you can update the internal table which you are passing for tree display with the field labels.

and then call the refresh tree method.

i dont think there is a direct method of doing the same where in the text gets auto updated, this happens only in case of screen elements.

Hope this helps.

regards,

kinshuk