Home › Forums › Guriddo jqGrid JS › celledit and rowiud
This topic contains 4 replies, has 2 voices, and was last updated by guriddo.support 20 hours, 41 minutes ago.
Using v5.2.0 – build 2017-03-07 from github
When using cell edit with xml data
if the rowid is 8993, when I click on the cell – text input shows up – upon examining it seems like input does not have the same id as rowid?
<input id="1_QtyCancel" class="ui-widget-content ui-corner-all" name="QtyCancel" size="10" type="text" />
why is the input id not 8993_QtyCancel? This used be same? Is this a bug<br>
This mean that the grid can not find the id or it is set incorrect or there is a bug.
You can test this if you use method getDataIds to see actually the ids of the grid.
One possible resolution is to set key:true in the column acting as id, but the best way to see what is happen is to prepare a small example with data and send it to us or send a link to the problem.
Guriddo Support Team
I have tried setting the kye:true – no effect.
getDataIds returns the correct ids
Here’s a link to the problem
Click on cell to edit, examine the html of input tag
any info or feedback on this?
Everything on this example is as expected.
The data returned from the server has attribute rowid =”1″ .. and etc.
the id is the rowid+ the name from the colModel when editing. From where come this 8993_QtyCell?
Please look at our new docs here
The getCell should not be used when editing is applied.
The same is described here see getCell method description
What is actually the goal?
You must be logged in to reply to this topic.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS