i try add custom button column as descripted in demo like:
private void AddGridButtonColumn(string name, string uniqueName, bool sortable) |
{ |
//remove first if grid has a column with that name |
RemoveGridColumn(uniqueName); |
// Add a new column with the specified name |
GridButtonColumn gridButtonColumn1 = new GridButtonColumn(); |
gridButtonColumn1.HeaderText = name; |
if (sortable) |
gridButtonColumn1.SortExpression = uniqueName; |
gridButtonColumn1.UniqueName = uniqueName; |
gridButtonColumn1.DataTextField = uniqueName; |
RadFileExplorer_SharedFolderBrowser.Grid.Columns.Add(gridButtonColumn1); |
} |
but no button appears in grid.
any solution?