This is possible, but I advise you to initialize the Grid first, or initialize it in a visible (expanded) item of the PanelBar. If the Grid is initialized while hidden, it has an explicit height and its scrolling is enabled, the widget will not be able to adjust its layout properly.
In addition, please use one more <div> inside <li class="k-state-active"> to wrap all inner content, as shown in this demo: