I''m having trouble with something I would have thought quite simple. I''m sure the answer is right in front of my nose.
I am binding a grid to a datatable. However, I also need to add a push button to each row (in the first column). I can''t seem to get ''both'' happening simultaneously. One seems to clear the other.
Can someone please point me in the right direction?
Thanks in advance,
ADAdministrator Syncfusion Team August 4, 2004 05:58 PM
If by first column you mean the first column from your datatable (and not the row header column), then setting the CellType = "PushButton" does not display the CellValue property. A pushButton cell gets its display text from the style.Description. So, that is probably why you are seeing a push button with no text if that is in fact what you are seeing.
One way you can try to handle this is to subscribe to the PrepareviewStyleInfo event. In the handler try code similar to