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

Autosize rows

4 Answers 128 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ISB-developer
Top achievements
Rank 2
ISB-developer asked on 06 Sep 2011, 08:53 AM
Hello
I have a question. Is it possible to autosize rows but not only the viewable part but the entire row?
For example I have a GridView with 45 columns but I can see in one time only part of all columns.
And if I scroll left/right I see how the rows are autosized. but I would like to have all the rows autosized from the begining.
can you help me?

4 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 08 Sep 2011, 08:48 AM
Hello,

Could you please try to provide an example on this scenario and what you are trying to accomplish?

Best Regards,
Emanuel Varga
0
ISB-developer
Top achievements
Rank 2
answered on 08 Sep 2011, 10:40 AM
Hi again
I have attached two files.
I one I am with the horizontal scroller on the left side. You can see the selected rod that has a specific width.
See print_screen_1
If I scroll a litle through right I will have a different width for the same selected row.
See print_screen_2

So I would like to have an aoutosize for row in gridview for the entire row, not only for visible part of the row
0
Emanuel Varga
Top achievements
Rank 1
answered on 08 Sep 2011, 11:50 AM
Hello again,

I will try this scenario and get back to you

Best Regards,
Emanuel Varga

//(off topic & off language: (salutari din ro :P)//
0
Jack
Telerik team
answered on 08 Sep 2011, 02:09 PM
Hello Isb-Developer,

Thank you for this question.

RadGridView uses virtualization for its visual elements and they are created when requested. Only cells that are currently visible can have visual elements and when scrolling they are reused. Because of the virtualization it is not possible to calculate the height for cells that are not visible. However, this feature seems reasonable and will consider implementing it in a future version. I added it as a feature request in our issue tracking system and I updated your Telerik points accordingly.

Should you have any other questions, do not hesitate to ask.
 
All the best,
Jack
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
ISB-developer
Top achievements
Rank 2
Answers by
Emanuel Varga
Top achievements
Rank 1
ISB-developer
Top achievements
Rank 2
Jack
Telerik team
Share this question
or