PDA

View Full Version : Multiple items in datagrid cell.


watchdog
04-28-2008, 04:47 PM
I need to have the datagrid componment display upto 6 different items in a cell, eg a couple of checkboxes, two editable text boxes, and two static text boxes.

Depending upon the requirements, each row may need to display different views ( using _visible property ?) .

For example, row 1 might only have to display the two check boxes (to give yes / no values).

The next row might need to display ths same as above, but with a static text box below, and an editable text box below that.

I've seen lots of cellrenderer examples, but not one which displays more than one item/object in a cell, can anyone tell me if what i want to do is possible, and if so, does anyone have a simple to follow example.