将下拉列表添加到特定列..使用jQuery [英] Adding Dropdown list to the particular column..using jquery
本文介绍了将下拉列表添加到特定列..使用jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将带有某些值的下拉列表框附加到jquery网格列中,
Hi I need to append the dropdownlist box with certain values to the jquery grid column,
这是垂直列的默认下拉列表....
that is default dropdownlist for perticular column....
我正在使用这种类型的jQuery网格
I am using this type of jQuery grid
http://www.trirand.net/demoaspnetmvc.aspx
有人可以帮我吗?.
谢谢
推荐答案
您几乎可以将任何html添加到网格中的数据中,例如:
You can pretty much add any html to your data in the grid, for example:
$("#grid").jqGrid('addRowData', 1, {id:"1", name:"Joe Developer", division:"<select><option value='1'>Division 1</option><option value='2'>Division 2</option><option value='3'>Division 3</option></select>"});
这篇关于将下拉列表添加到特定列..使用jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文