Sorry I missed to say that the new width an font-size are for input boxes and select boxes when they are in editRow mode.
When I add an new row I use custom button, which call addRowData
and after that editRow for the new row, then I change the width (width: to 95%) and
font size(font-size:13px) for the new row.
Thanks. That was my problem.
Yes i have a parent div with hegiht an jqGrid option with height:”100%”.
Yes it works thanks.
No it does not fix the problem.
I did not want to set row to be “not editable” after SetRowData,
there is a saveRow method to do that.
Yes, that is. And if i call
setRowData(rowid,{”id”:”newid”,“Name”:”NewName”)} that way,
without set value to kind the row is staying editable as it should be.
The thing that i want to explain is:
when i set new values of columns
with setRowData method and describe in this method all the columns
and theri values the row after that the row colsed himself(all inputs
and select are text which user can`t edit) if it was in
I did not understand why but …
ondblClickRow:function(rowid){
After editRow function.
I have jqGrid with 3 columns,
1. id column,hidden
2. Name column text, not editable by user
3. Kind type combobox editable
on dbclick i set editRow for dbclicked row
i`m using setRowData as callback from other action to change the
name Name and id
Sorry i mean setRowData instead of saveRowData.
Just an space or ” “.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top