Hi there,
im a newbie to jqgrid and would like to check if there is a way to get the defaultValue of an edittype:text from a database. I see dataUrl is only for select type. I just need to get the last max number + 1 of a certain table field and set it as the default value.
name:'ItemNumber',index:'ItemNumber', width:120, align:”center”,editable:true,editrules:{required:true,integer:true},editoptions:{
defaultValue:function(){
source: getmax_numberfromtable.php
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top