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

Access to ColumnEditor in Client-Side

1 Answer 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rachel
Top achievements
Rank 1
rachel asked on 13 Dec 2010, 04:25 PM

Hi
I'm using with RadGrid for editing by GridBoundColumn that connected to ColumnEditorID with type of GridTextBoxColumnEditor.
In "OnCommand" Client-Side event i am asking if the the CommandName is "Update" and then i'm checking validations on the editing data:

function OnCommand(sender, args) {
      var commandName = args.get_commandName();
      if (sender._editIndexes.length > 0 && commandName == "Update") {
             var itemIndex = args.get_commandArgument();
             var row = tableView.get_dataItems()[itemIndex];
              var cell = row.get_cell("SomeColumn");
          }

My question is, if is there any way to access to the editing values by the ColumnEditorID of the found cell.
(in cell.innerHTML i can see the new editing values but it exists in Input tag. i need a More beautiful solution.)

 Thanks !

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Dec 2010, 11:08 AM
Hello,

Refer to the following code library  which provides an example of how to retrieve editor values on client:
Retrieving grid editor value client side

-Shinu.
Tags
Grid
Asked by
rachel
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or