2007 Feb 25 8:28 AM
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??
2007 Feb 26 9:06 AM
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
2007 Feb 26 9:21 AM
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
2007 Feb 26 9:59 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |