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

Only first value of column shown

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 11 Aug 2011, 01:09 PM
In a GridView with a lot of rows I would in first column only unique value shown; this means the cell text should be empty if the value of the cell is the same as the value in the prior row.
How can I do this?

Its a little bit similar to grouped columns

best regards

Andreas Manz

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 11 Aug 2011, 01:27 PM
Hi Andreas,

 

You may create your own custom column and to implement the behaviour you described either by predefing the CellTemplate for this column or through overriding the CreateCellElement method of a GridViewColumn. Refer to the following resources for further reference:


                                                              "Add button column"
                                            "Create Custom DateTimePicker Column" 
                                             "Create Custom Editor with RadGridView"
                                           "Setting CellTemplate and CellEditTemplate"



Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Andreas
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or