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

[Solved] Using hidden column causes misalignment of editor

2 Answers 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 28 Sep 2010, 01:32 AM
I apparently need to have a hidden column (because I need to reference the id of the object in javascript functions for grid client-side select events and that is solution shown in the examples).

Unfortunately, the hidden column when I enter ajax editing mode, starts showing up.

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 28 Sep 2010, 09:29 AM
Hello Thomas,

I have used Ajax editing demo as a base. I was able to get data item in the select event handler. You can use dataItem([table row]) client method to get the data item depending on the row. In the example ProductID column is hidden with [ScaffoldColumn(false)] attribute. Even it is hidden, the property is available on the client.

Best wishes,
Georgi Krustev
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
0
Thomas
Top achievements
Rank 1
answered on 05 Oct 2010, 02:48 AM
Would it not be considered a bug though that having a hidden column breaks the headers of the grid?
Tags
Grid
Asked by
Thomas
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or