开发者

jQgrid multiselect with dynamic changed cell value based on dropdown selection

I just found that sample

http://www.ok-soft-gmbh.com/jqGrid/DataToMultiSelect2.htm

I want to have something similar:

I want to be able to post selected values on server and also i want to have a dropdown and based on that dropdown selection another cell value of that row gettign changed

How can i do that?

|Id|Dr开发者_开发知识库opdown|ValueChangedOnDropdownChanged|
 1   A[A/B]        A selected
 2   B[A/B]        B selected

*[A/B] it is dropdown options


I am not sure that I understand your question correct. The demo which you reference in your question I created before for the answer and this one.

Look at the another old demo. It shows how to implement dependent select (dropdown) list. The demo shows how to it in inline editing, form editing and the searching toolbar. In case of the usage of server base data you will have to use dataUrl and buildSelect to implementation of the same behavior. The dataUrl should be used instead of the v property of the searchoptions or editoptions. The buildSelect can be used ton only to modify the server response, but just as the good place to rebuild the dependent select (dropdown list).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜