jqGrid - how to have hidden fields in an edit form

前端 未结 7 1323
花落未央
花落未央 2020-12-21 09:16

I want to be able to pass fields into the edit form when a user attempts to edit a row, but I don\'t want these fields to be editable - I want them to just be hidden so they

7条回答
  •  误落风尘
    2020-12-21 09:43

    If it's info to pass to your edit database functions, you could just pass the additional parameters through the URL

    editurl:"database_edit.asp?user_id="+user_id
    

    Not necessarily a better way - just a different one.

    Cheers

    Paul

提交回复
热议问题