Jan 22, 2016, 4:43 AM
Not able to get proper value of grid panel Column from getState methods.
In the grid panel have hide the column's. Suppose i have 5 column in the grid and hide the last column. For Example
Please suggest me for the same.
{
"columns": [
{
"id": "ctl00_mainContentPlaceHolder_Priority"
},
{
"id": "ctl00_mainContentPlaceHolder_EmployeeID"
},
{
"id": "ctl00_mainContentPlaceHolder_EquipmentId"
},
{
"id": "ctl00_mainContentPlaceHolder_Notes",
"hidden": true
},
]
}
i got this value by using the getState method. Now I hide the second last column i.e "EquipmentId" the then i got using getState methods value.{
"columns": [
{
"id": "ctl00_mainContentPlaceHolder_Priority"
},
{
"id": "ctl00_mainContentPlaceHolder_EmployeeID"
},
{
"id": "ctl00_mainContentPlaceHolder_EquipmentId",
"hidden": true
},
{
"id": "ctl00_mainContentPlaceHolder_Notes"
},
]
}
As you can seen here the state of "Notes" is not coming, this column was hidden at first time . Due which Notes column become visible to the users.Please suggest me for the same.
Last edited by fabricio.murta; Jan 22, 2016 at 9:12 PM.
Reason: Wrap [code] tags around code.