Does anyone know how to get the cells value of the selected row of JQGrid ? i m using mvc with JQGrid, i want to access the value of the hidden column of the selected row ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First you can get the
rowidof the selected row with respect ofgetGridParammethod and ‘selrow’ as the parameter and then you can use getCell to get the cell value from the corresponding column:The
'columnName'should be the same name which you use in the'name'property of thecolModel. If you need values from many column of the selected row you can use getRowData instead of getCell.