I have a GridDataBoundGrid With the Columns Item_Id, Item_Name, Item_Price,Item_Edit, Item_Delete columns. Edit and Delete columns are PushButtons, But I am not able to assign text for that pushbutton, Is It possible to do or not??
I tried this code...
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
if (e.ColIndex == 3 && e.RowIndex > 0)
{
e.Style.CellType = "PushButton";
e.Style.Text = "Edit Button";
e.Style.CellAppearance = Syncfusion.Windows.Forms.Grid.GridCellAppearance.Raised;
}
if (e.ColIndex == 4 && e.RowIndex > 0)
{
e.Style.Text = "Delete Button";
e.Style.CellType = "PushButton";
e.Style.CellAppearance = Syncfusion.Windows.Forms.Grid.GridCellAppearance.Raised;
}
}
Thanks in Advance....