Hai all,
I want to know how to disable row header in Devexpress xtragrid (grid control ) . In normal we are disabling the property of DataGrid by row header visbile into false.But how to disable in Devexpress.
Please Help
EDIT
At last i found the answer !!!
set the GridView.OptionsView.ShowIndicator property to False.
I am not sure that this is what you want to achieve, but to hide a column, you should set its Visible property to false. I.e.
GridView1.Columns["SomeFieldName"].Visible = false;
If this does not help, please explain the needed functionality in greater details and I will update my answer....
Related
In gridview my data showing in horizontal direction how to change that in vertical direction
Because I'm using ItemTemplate and TemplateField in gridview and I want to see the data one by one i.e in Row
please follow below link It might help u to solve your problem
May be this is what you're looking for:
http://forums.asp.net/post/2305635.aspx
You can also follow below link:
http://www.c-sharpcorner.com/Forums/Thread/214138/change-orientation-of-a-grid-view.aspx
I have searched endlessly for the answer of this and have a feeling this is not supported. But I want to double check before I give up.
I have a Kendo Grid where I want incell editing turned on if a column downs not have a value and want inline editing for the rows that this column does have a value.
If this is possible, how do I go about implementing this.
Here is what I've tired,
Tried grid default to inline, but never got the cell edit to work.
Tried grid to default to in-cell, where on the edit event, I check to see for this column to see if there is a value, if there is, I close the cell. I added a custom commands button, and tried enable edit mode on the row from the click event. But it seems that you can't do this.
Here is what my click event did...
editClick = function(e) {
var grid = $("#grid").data("kendoGrid");
var row = grid.dataItem($(e.currentTarget).closest("tr"));
grid.editRow(row);
};
Any help will be greatly appreciated.
Thanks in advance.
This is not supported - the Grid cannot switch between the different editing modes on the fly and work-around is kinda impossible.
Please can anyone give me solution.
Here is the problem.
Am passing a datatable as datasourse to a rad grid. The coumns of datatable are autogenerated depending on the data. So, I did nt added the itemtemplates for the rad grid. in the aspx page.
How i should make each cell as editable as well I want give rad tool tip for every cell.
Please help me in this problem
Regards,
Bharath
To make the grid cells editable, simply add EditCommandColumn in the grid (either auto-generated or declarative). To add tooltips, use this approach and include RadToolTipManager on the page with AutoTooltipify property set to true.
I am trying to add default item as 'All' at top of RadComboBox. How can I do this? I am using LoadOnDemand and loading database items using WCF service.Please help. I am stuck with this.
Thanks..
You can set the "EmptyMessage" property of the RadComboBox to "All". Take a look at this Telerik demo for an example.
In DataGridView there is a row selected and highlighted by default. How can this default selection and highlighting be removed?
I figured it out myself.
After populating the DataGrid, I called the following method:
datagrid.ClearSelection();
I found that faking the prevention of selection worked better for me.
See also here for a more thorough solution.