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

Height for TabStrip with Grid and remote data

1 Answer 621 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 1
Troy asked on 11 Jan 2016, 03:41 PM

I want to have a TabStrip whose tab content consumes all remaining screen height.  The content of all tabs is AJAX loaded, and at least one has a Grid, which is fed with a remote data source.  It looks like I need to explicitly set a pixel height for a container somewhere up the chain from the TabStrip's (since something has to be other that 100%), perhaps set the height of the  "k-content" containers, recalculate the Grid height when it is loaded, and potentially have specific scrolling options for the grid.  I've found pieces of the solutions, but is there any demo that has this all in one place?  I'm having trouble getting it to work, and I'm not sure I know all the correct things needed, and their timing.

Currently the grid seems to be sizing only the k-grid-header, with the k-grid-content div set to 1px.  I think this may be that the grid is sizing itself before the remote data is available.  I seem to remember a suggestion that I might need to resize the grid during the dataBound event?

 If there is a demo with this combination, or the steps required, it would be very helpful.

1 Answer, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 13 Jan 2016, 08:17 AM
Tags
TabStrip
Asked by
Troy
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Share this question
or