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

set grid width & height on client grid created

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
farsica
Top achievements
Rank 1
farsica asked on 06 May 2008, 08:13 AM
Hi.
I useing Telerik.Web.UI
is it posible to set grid width and height when grid created on client. I have a javascript function that let me window size, I want set grid sizes with this.

1 Answer, 1 is accepted

Sort by
0
Nikita Gourme
Top achievements
Rank 1
answered on 06 May 2008, 10:21 AM
I had such requirement as well and what I did is hook the OnGridCreated client event to change the size of the grid client-side. See this article for more info but note that you may need to access different html element if you do not use scrolling with static headers.

Nikita
Tags
Grid
Asked by
farsica
Top achievements
Rank 1
Answers by
Nikita Gourme
Top achievements
Rank 1
Share this question
or