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

[Solved] Update text in a grid item using client script

3 Answers 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Walter
Top achievements
Rank 1
Walter asked on 12 May 2008, 07:46 AM
Hi,

How can I update text in a grid item using client script?

grtz,

Walter

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 May 2008, 08:04 AM
Hi,

Go through the following code library link.
Retrieving grid editor value client side

Shinu.
0
Walter
Top achievements
Rank 1
answered on 12 May 2008, 09:14 AM
Hi Shinu,

This demo illustrates how to retrieve the value in the field editor when the item is in edit mode.

I just want to put the item in edit mode using client script and change it's value.
something like this:

tableView.fireCommand(

"Edit", i);
tableView.getCellByColumnUniqueName(items[i],
"Version").innerText = "new value";
tableView.fireCommand(
"Update", i);


Grtz,

Walter

0
Princy
Top achievements
Rank 2
answered on 12 May 2008, 10:06 AM
Hi Walter,

Go through the following forum link which discusses a similar requirement.
Inserting on client side?

Thanks
Princy.
Tags
Grid
Asked by
Walter
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Walter
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or