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

[Solved] UseStaticHeaders issue

1 Answer 135 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave Hollen
Top achievements
Rank 1
Dave Hollen asked on 11 Feb 2010, 09:46 PM
I have a RadGrid and something strange seems to be happening with my Javascript when I have UseStaticHeaders set to TRUE.

I have the following line of Javascript:

var

 

orgIdCell = rgUsers.MasterTableView.get_dataItems()[i].get_cell("OrgIDColumn");

 

 



If UseStaticHeaders = FALSE, orgIdCell is populate and there are no problems.

If UseStaticHeaders = TRUE, orgIdCell comes back as NULL.


Why?

is there a workaround?

I need to use orgIdCell to access the innerText propery of a cell in the grid.


I am setting UseStaticHeaders and AllowScrolling to True/False in c# based on some conditions and other button clicks.


It seems that if both UseStaticHeaders and AllowScrolling are set to True, this issue occurs.  If only one or the other are set to TRUE, this issue does not happen.

Thanks,
Dave

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Feb 2010, 08:31 AM
Hi Dave,

I am afraid that the provided information is not enough to determine the exact cause for the issue you are facing. Therefore I will ask you to open a formal support ticket and send us a simple working application with reproduced this erroneous behavior. Thus we will review it locally and advice you further.

Additionally, I suggest you review these articles:
Scroll with static headers
getCellByColumnUniqueName

Regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Dave Hollen
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or