Put a control in a Cell of DataGrid

F

Franck

Hello EveryBody,

i want to put Control in each Cell of my DataGrid,
i don't know if it's possible...

i have a table with 3 Rows and 7 Colums,
and i want to click for example in the (0,1) colums to do an action.

how i can do ?

need help, it's very hard !

Thanks,

Franck
 
A

Alvin Bruney

in your itemcreated event handler for your datagrid, add this code
e.item.cells[1].controls.add(new Textbox())

that's it.

regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,085
Members
48,773
Latest member
Kaybee

Latest Threads

Top