Zebra API Doc

zebra.ui.grid.GridStretchPan Class

Extends zebra.ui.Panel

Special UI panel that manages to stretch grid columns to occupy the whole panel space.

   ...

   var canvas = new zebra.ui.zCanvas();
   var grid = new zebra.ui.grid.Grid(100,10);
   var pan  = new zebra.ui.grid.GridStretchPan(grid);

   canvas.root.setLayout(new zebra.layout.BorderLayout());
   canvas.root.add(zebra.layout.CENTER, pan);

   ...

Constructor

zebra.ui.grid.GridStretchPan

(
  • grid
)

Parameters:

Item Index

Attributes

Attributes

grid

zebra.ui.Grid readonly

Target grid component