Hello,
we are using version7.
i m using RPCResponse for sending my data from backend to the JSP for a listGrid.
I am handling server side validation, suppose if there is an error in a particular cell for any row, i want to highlight that particular cell in the ListGrid.
- How to achieve this?
- Can i get that parcticular row number and column number in the JSP(ListGrid). So that i can use it to change the base style of that cell?
- How to store that row number and column number in the response object and how to retreive the same in JSP.
we are using getCellStyle, to change the basestyle for a particular cell as shown. Now we need to know how to use the same function for any row?
getCellStyle: function (record, rowNum, colNum) { if ((this.getFieldName(colNum) == "errorMsgColumn") && (rowNum == ????)){
return "myHighGridCell";
}
else {
return this.baseStyle;
}
}