This is a migrated thread and some comments may be shown as answers.

getCellByColumnUniqueName only works for visible columns

2 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 03 Aug 2010, 11:47 AM
Hi,
    Why does getCellByColumnUniqueName only work for visible columns? If I use it to get a cell value for a column that has visible=false then it returns null.

Is there a workaround for this?

Thanks

2 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 03 Aug 2010, 11:50 AM
Typical as I type that I find Display property which I can set to false to achieve the results I'm after.

Can you explain the difference between the visible and display propeties?
0
Shinu
Top achievements
Rank 2
answered on 03 Aug 2010, 12:26 PM
Hello,


Display property indicates whether the cells corresponding to a column should be rendered with a 'display:none' style attribute (and hence we can access the values) . Visible property is useful if you do not want to show/hide a column or completely prevent cells from rendering, server-side.


-Shinu.
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or