how to show readonly fields in edit form in jqgrid or other way to show whole text from readonly column

后端 未结 3 1921
借酒劲吻你
借酒劲吻你 2021-01-12 18:36

jqGrid colModel contains read-only multi line column defined using properties below. Content line lenghts are greater than column width, text is to long so that tooltio does

3条回答
  •  猫巷女王i
    2021-01-12 19:09

    Is the setting

    editable: true, editoptions: { readonly: "readonly" }
    

    probably what you need?

    UPDATED: Free jqGrid supports more values for editable property starting with version 4.8. The wiki article described that editable can be function and it supports additionally three string values in case of using form editing: "hidden", "disabled" and "readonly".

提交回复
热议问题