Basically my requirement is to remove the extra column in DevExpress GridControl using WPF. I have a GridControl which contains three columns, while the GridControl shows three columns perfectly the rest of GridContol area is shows as an extra column. I want to remove that extra column, so is there any solution?
Any help is appreciated!
Use the TableView.AutoWidth property:
<dxg:GridControl>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="ID"/>
<dxg:GridColumn FieldName="Name"/>
<dxg:GridColumn FieldName="Age"/>
</dxg:GridControl.Columns>
<dxg:GridControl.View>
<dxg:TableView AutoWidth="True"/>
</dxg:GridControl.View>
</dxg:GridControl>
Related help-article: Columns Layout and Width
Related
I want to add a addtional value "ALL" into devExpress grid pager dropdown.Default display following setting
<PageSizeItemSettings Items="10,20,50,100" Visible="True">
</PageSizeItemSettings>
I want to add one addition value All into PageSizeItemSettings dropdown.When i clicked on All it should display all the table row. How can i do this?
I got the solution related display All option in pager.
I would like to have build a grid, each cell can have multiple rows and each of the row can be editable. and each cell can be right click on the cell also. I am thinking jquery for the choice of grid. But there are a few work need to be done. Are there any other grid out there very close to what I require and not much of work require would be good. Thanks for answering my qestions
jqGrid has the functionality you have specified.
See the online documentation:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing
Merged with Add Total Columns in DataGrid.
I have one Datagrid in Flex. In datagrid there are 4 columns like mark1,mark2,mark3,Total. When i enter mark1,mark2,mark3 that time i want to update total.
How can i do this??
Please help me
I want to split my dataGrid Rows , like we do in Html by using ...
this picture illustrate what i'm asking for
view the screenShot
I tried with the gridView and Xtemplate , i need help
If you do not want each row of the split rows to work as individual rows of a GRID, then you can simply use renderer() function to show simple HTML template in your PHONE and EMAIL column. Have a look at this paging grid example - the way the used String.format to show custom template.
I am trying to make only one of the columns of a datagrid as sortable using flex 3. but using sortableColumns all the columns change their property...any solution??
You can use the sortable flag on the DataGridColumn:
http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#sortable
I'm unclear what you mean by a column changing it's property. Sorting shouldn't change the display field of the column; although it may change the value that is displayed in the column. Sorting a single column should always change the values of other columns. That is the nature of the dataGrid.
You need to disable the sortable option to the DataGrid, and enable it for the DataGridColumn you want.
Once you'll do it, Only the specific column you enabled will be sortable.