-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi,
i want hide some grids in one page
,
now , zk hides the not visiable components on client side.
but i want zk don't render the html labels to client side.
anybody help?
thanks!
try exploring the "fulfill" property.
As you dont want to render the grid at client side, there must be some action taken at client side (say a button click ), in response to which you want to show the grid.
In this case you can do as -
<zk> <button label="load grid" id="btn" /> <div id="dv" fulfill="btn.onClick"> <grid > <columns menupopup="auto"> <column label="Author" /> <column label="Title"/> <column label="Publisher"/> <column label="Hardcover"/> </columns> <rows> <row> <label value="Philip Hensher"/> <label value="The Northern Clemency"/> <label value="Knopf (October 30, 2008)"/> <label value="608 pages"/> </row> <row> <label value="Philip Hensher"/> <label value="The Fit"/> <label value="HarperPerennial (April 4, 2005)"/> <label value="240 pages"/> </row> <row> <label value="Philip Hensher"/> <label value="Kitchen Venom"/> <label value="Flamingo (May 19, 2003)"/> <label value="336 pages"/> </row> <row> <label value="Michael Greenberg"/> <label value="Hurry Down Sunshine"/> <label value="Other Press (September 9, 2008)"/> <label value="240 pages"/> </row> <row> <label value="Michael Greenberg"/> <label value="Painless Vocabulary (Painless)"/> <label value="Barron's Educational Series (September 1, 2001)"/> <label value="292 pages"/> </row> <row> <label value="Rick Perlstein"/> <label value="Nixonland: The Rise of a President and the Fracturing of America"/> <label value="Scribner; 1st Scribner Hardcover Ed edition (May 13, 2008)"/> <label value="896 pages"/> </row> <row> <label value="Rick Perlstein"/> <label value="Nixonland"/> <label value="Simon & Schuster (May 13, 2008)"/> <label value="0 pages"/> </row> </rows> </grid> </div> </zk>
hi,thanks for your help.
i tried your example.
though zk don't render the grid at client side,but also , the component can't be accessed at server side.
i want access the component at server side ,and also not render java script at client side,
anybody help? thanks very much
Asked: 2010-06-03 06:12:47 +0800
Seen: 236 times
Last updated: Jun 17 '10