I'm using the following code to fill one of the cells of a new row with a default value, but this is not working (the cell is empty). What is wrong with my code?
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="sfcode">var parameters =<br /> {<br /> rowID: "new_row",<br /> initdata: {<br /> IdField: $('#IdField').val(),<br /> Description: $('#IdField option:selected').text()<br /> },<br /> position: "first",<br /> useDefValues: false,<br /> useFormatter: false,<br /> addRowParams: { extraparam: {} }<br /> };<br /> <br /> $("#containerGrid").jqGrid('addRow', rowid, parameters);</div> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top