Is there a way to set the DataFormatString in server-side code? I would like to see if it is possible to set the DataFormatString of a specific cell. I see an attribute FormatFieldMethod but dont understand how to set/change it. Thanks.
You can try this code, it works for me:
protected override void OnInit(EventArgs e)
{
_datagrid.Load += (grid, arg) =>
((iggrid.WebDataGrid)grid).Columns[0].FormatFieldMethod = (field, value) =>
return "Hello";
};
}