Height for TabStrip with Grid and remote data

2 posts, 0 answers
  1. Troy
    Troy avatar
    34 posts
    Member since:
    Sep 2015

    Posted 11 Jan 2016 Link to this post

    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.

Back to Top