Jquery 将值设置为jqgrid中的选项按钮
我像下面的方法一样创建选项按钮Jquery 将值设置为jqgrid中的选项按钮,jquery,jqgrid,Jquery,Jqgrid,我像下面的方法一样创建选项按钮 { name: 'Status', index: 'Status', width: 150, align: 'left', editable: true, edittype: 'select', formatter: 'select', editoptions: { value: 'choose:--Choose---'} }, 我只能像choose那样添加一个值。如何在选项按钮中添加多个选项?而不是 editoptions: { value: 'choose
{ name: 'Status', index: 'Status', width: 150, align: 'left', editable: true, edittype: 'select', formatter: 'select', editoptions: { value: 'choose:--Choose---'} },
我只能像choose那样添加一个值。如何在选项按钮中添加多个选项?而不是
editoptions: { value: 'choose:--Choose---'}
使用此选项添加更多选项:我添加了一个、两个
editoptions: { value: 'choose:--Choose---;1:one;2:two'}
其中1
=值和1
=选项标签
有关编辑选项的更多信息,请单击