PDA

View Full Version : Property Grid : Changing the contents of Name column dynamically.



gj.gauravjain
24 Nov 2013, 5:23 AM
Hello,

After many hours of searching I couldn't find a solution, so trying the last resort and posting here.

I have a property grid to which I am adding rows dynamically after I receive the information from database. I construct an array and then do a grid.setSource(). This works okay.

Now I want to localize/conditionally change the text of labels on the left column. I need something like a renderer for left column.

Any pointers?

All help is appreciated.

Regards,
Gaurav Jain

dawesi
25 Nov 2013, 8:46 AM
Just change the name of the name/value pair in setSource()

aka use getSource(), then change the name, then use setSource()