Bind a grid to a DataView
Start editing and change the values of a few cells.
Press Escape twice to cancel the edit of the entire row.
Expected: the values return to the old values
Actual: the values remain the last entered ones
Hi,
I have been working wit the RadGridView for about 6 years now and it works great!
The only thing that still bugs me after all these years is the GridViewComboBoxColumn. The sorting and "Search as you type" features are not working for us. The fact that it uses the DataMemberBinding is something we do not get.
The fact that it is not ordered or searched into the shown value instead of the DataMemberPath is beyond me.
I mean, why would I, as a user, want to search into or sort a value that is not visible to me?
Adding a feature like a string property on the GridViewComboBoxColumn that is used for displaying, searching, filtering and sorting would be awesome!
The filter's distinct values work well, but the field filters show the enum value and that's not good.
I have attached a sample project to demonstrate the problems with sorting, filtering and searching.
There are also print screens attached to clarify each feature mentioned
Thanks!
Our requirement is to navigate through RadGridView table header using keyboard tab navigation.
The header may or may not include checkbox/filter button.
However on mouse focus on table headers , it get highlighted. This feature is currently not possible with tab navigation.
The built-in export capabilities for the RadGridView are clunky and not well though out. Additionally, it doesn't fully support exporting hierarchical child data. (You can do it, but you have to go through a good bit of song and dance for something that I've seen other tool sets do automatically.)
I'd like to see the option fully baked that doesn't require code-behind (allowing an MVVM approach). And asynchronous methods that uses standard async-await conventions.
If you have the following model, the columns that show the Test and Date properties (in the derived class) cannot be sorted or filtered. Also, no header text is displayed.
public
class
RowModel
{
public
int
Id {
get
;
set
; }
public
Bar FredBar {
get
;
set
; }
}
public
class
Fred : Bar
{
public
DateTime Date {
get
;
set
; }
public
string
Test {
get
;
set
; }
}
public
abstract
class
Bar
{
public
string
Title {
get
;
set
; }
public
double
Value {
get
;
set
; }
}
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Id}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Title}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Value}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Date}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Test}"
/>
</
telerik:RadGridView.Columns
>
Add a property to the RadGridView that provides a distinct template for adding a new row.
Sometimes you have classes with no default constructor. Those classes may have properties that are read-only after construction. This cannot be handled in the RadGridView, because you only have the choice of a CellEditTemplate. (I'm envisioning something akin to the RowDetailsTemplate.)
Example: I have a class that defines a invoice match for payment application. Once the invoice is set it cannot be changed. The user can still edit the match, but they're only allowed to edit the amount to be applied.