Hello,
the jqGrid documentaiton states the following:
To construct this element, editoptions must contain a set of value:label pairs with the value separated from the label with a colon (:). These sets of pairs can be either a string or an array. For example, both
colModel : [ … {name:'myname', edittype:'select' editoptions:{value:”1:One;2:Two”} } … ]
And colModel :
[ … {name:'myname', edittype:'select', editoptions:{value:{1:'One',2:'Two'}} } … ]
are correct and can be used as a 'select' definition.
I tried this and it doesn't work for me. There's an error message:
$t.sopt.value.split is not a function
Seems to me if the check what format is given (string or array) is missing or buggy. Is this a known issue?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top