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

[Solved] Unable to control selection of columns for both display and edit modes

1 Answer 80 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.
Carl
Top achievements
Rank 1
Carl asked on 08 Apr 2011, 07:09 AM
Using Ajax binding master/detail hierarchy, I can control which columns are shown using .Hidden(true) for those I do not want displayed, and .ReadOnly(true) for those I do not want edited, and it does work as expected.

And with .Editable(editing => editing.Mode(GridEditMode.PopUp)) together with [ScaffoldColumn(false)]  for those columns I want hidden in the PopUP form editor, that works as expected too.

Unfortunately, the problem that I've experienced is that when using both approaches on columns that should NOT be conflicting with each other, it does not work. More specifically, using [ScaffoldColumn(false)] so that a column does NOT appear in the Edit form also makes the column disappear from the display grid even though the column does NOT have a .Hidden(true).

So are these two approaches supposed to be completely independent or not?

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 08 Apr 2011, 08:26 AM
Hello Carl,

This is expected behavior. If you mark entity property with [ScaffoldColumn(false)] will not be shown in the grid at all.

Greetings,
Nikolay
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
Carl
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or