Deleting column in devexpress grid - asp.net-mvc-3

I want to delete column in devexpress grid without using Customization window. For example: by dropping column out of grid or there will be a X button on column that will delete it. Is it possible?

It is possible to drag-drop a particular ASPxGridView Column into the Customization Window or hide the Columns programmatically.
See the following Examples:
E3812
E2023
E3031
If you want to show/hide an individual Column while export, use the solution from the E3352 Example.

Related

add textbox row below header gridview to use as filter

I have seen at times, datagridviews using an extra cell placed right under the Header of the column, as a filter for the values in the specific column.
I know it is possible to do so through a templatefield in ASP but I need to alter a desktop application using a DataGridView to display the data.
Does anyone know how to add a filter row to the grid in a vb net desktop application?
If I place a textbox right below the header row of the grid, I will hide the first row of data and I want to avoid this; if I place a textbox somewhere on the form, it looks pretty tacky.
Thank you for any suggestion.

xamarin.forms devexpress grid selected row

I am using the GridControl from devexpress in my Xamarin.Forms. When the page is first displayed it has the first row selected automatically. How can I change this so no row is selected?
By looking at the documentation directly you can find your answer:
https://documentation.devexpress.com/#Xamarin/CustomDocument12264
It seems you need to set the SelectedRowHandle property to change the selected row.
https://documentation.devexpress.com/#Xamarin/DevExpressMobileDataGridGridControl_SelectedRowHandletopic

Is it Possible to show and hide some Slickgrid Columns on button click

I need to show/hide some of the slickgrid columns on the click of a button. Is it possible?
For example , I have a slickgrid having 3 columns. On click of a button I want to show three more columns i.e 4,5,6. On clicking the button again these columns should hide and another div should take its place. So basically toggle 3 of the 6 slickgrid columns.
Thanks
SlickGrid doesn't have a concept of showing or hiding columns. It shows whatever columns you specify in the constructor or in a later call to grid.setColumns(). If you want to hide a column, just remove it from the columns array you call grid.setColumns() again.
You can keep the original columns array with all the columns in a separate variable.

Dropdownlist,CheckBox in MVC Grid in flat mode not in Edit Mode

I'm struggling to create a grid with two columns as bound columns and other two columns as dropdown and checkbox and last column is a column with update button.
I need to change the values of dropdown and checkbox and then need to store those values in the database while clicking the update button. I don't know how to save the changed values of ddl and checkbox in the database.
Thanks in advance.

Make only certain columns editable in SlickGrid

I have a grid with multiple columns and I use the first column for a row label. I looked at the example for making the grid editable, but that appears to make the whole grid editable. Is there away to specify a certain column(s) only?
Got it! By not setting the editor property on the column object the column is non-editable.

Resources