This is a migrated thread and some comments may be shown as answers.

RadGrid MultiRowEdit with Sorting

1 Answer 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
xrimson
Top achievements
Rank 1
xrimson asked on 02 Apr 2010, 05:35 PM
Is it possible to have a RadGrid that always has it's rows editable and only apply's the changes when a user clicks a "apply changes" button.  On top of this, can sorting be done based off of the user's (un-applied) updates?  I'm thinking the data would have to be persisted on the client somehow.

I have a MultiRowEdit example working, but I lose any changes on sorting.

Anyone have any ideas?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 05 Apr 2010, 08:28 AM
Hello,

Is it possible to have a RadGrid that always has it's rows editable
Yes, it is possible. Please examine the following links:
Put all items in edit mode without additional rebind
Default edit mode for grid items on initial load
Excel-like RadGrid

and only apply's the changes when a user clicks a "apply changes" button.

You can fire the UpdateEdited command for that purpose
<MasterTableView CommandItemDisplay="Top" ...>
    <CommandItemTemplate>
        <asp:Button ID="Button1" runat="server" Text="Apply Changes" CommandName="UpdateEdited" />
    </CommandItemTemplate>
    ....

On top of this, can sorting be done based off of the user's (un-applied) updates?
RadGrid doesn't support this functionality and I think it won't be that easy to achieve it.

Let me know if you need further assistance.

Best regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
xrimson
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or