kozla13
kozla13

Reputation: 1942

editRow not working after setCell in jqGrid

I'm using setCell to set the value of a cell , and after that enabling the cell for editing

grid.jqGrid('setCell','1','Valid','5');
grid.jqGrid('editRow','1', false);

but the result ist i cant click any longer on the cell ?

no longer editeble

after calling serCell the cell cant by any longer editable.

How can i make this cell again editable ?

Thanks

Upvotes: 2

Views: 3012

Answers (1)

kozla13
kozla13

Reputation: 1942

from the comment i find the solution

instead to set the column value like this

grid.jqGrid('setCell','1','Valid','5');

you need to set it like this :
$('#1_Valid').val('5');

Upvotes: 1

Related Questions