or
mygrid.get_masterTableView().hideColumn(i);
But, when I hide the column, it leaves a blank space where the column was located. Is it possible to have the remaining columns automatically resize and fill the empty space?
If this isn't possible, can I manually resize the remaining columns? I've tried the following script to set the hidden column width to zero, but it doesn't have any affect:
mygrid.get_masterTableView().resizeColumn(i, 0);
Protected Sub Grid_ItemCommand(source As Object, e As GridCommandEventArgs) Handles PreferredMediaEditableGrid.ItemCommand Select Case e.CommandName Case RadGrid.InitInsertCommandName PeterBlum.DES.Globals.Page.Validate() If Not PeterBlum.DES.Globals.Page.IsValid Then ' cancel automatic insert. e.Canceled = True End If End Select End Subvar view = $find('grd').get_masterTableView();
view.set_dataSource([]);
view.dataBind();ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="No data available matching the supplied search criteria."args.get_destinationItem()OnClientDropped

