AD
Administrator
Syncfusion Team
March 12, 2003 08:54 AM UTC
The text displayed in a PushButton cell is the GridStyleInfo.Description property. In a databound grid, the values from the datasource go into the GridStyleInfo.Text property, and so this is why you don't see the datasource value on the PushButton. If you want to see this, handle the PrepareViewStyleInfo event, and if e.Style.CellType equals "PushButton", then set e.Style.Description equal to e.Style.Text.