org.zkoss.zul.listbox.rod"
From Documentation
(Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zul.listbox.rod {{NestedLibraryProperty}} Set render-on-demand for grid components. Using render on demand, th...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
{{NestedLibraryProperty}} | {{NestedLibraryProperty}} | ||
− | Set render-on-demand for | + | Set render-on-demand for listbox components. |
− | Using render on demand, the | + | Using render on demand, the listboxcomponents will automatically add and remove rows depending on client scrolling. |
On large models, this will avoid sending the full content during page rendering. | On large models, this will avoid sending the full content during page rendering. | ||
Line 13: | Line 13: | ||
Default: false | Default: false | ||
+ | '''apply on one component''' | ||
<source lang="xml"> | <source lang="xml"> | ||
− | < | + | <listbox> |
<custom-attributes org.zkoss.zul.listbox.rod="true"/> | <custom-attributes org.zkoss.zul.listbox.rod="true"/> | ||
... | ... | ||
</source> | </source> | ||
+ | '''apply globally''' | ||
<source lang="xml"> | <source lang="xml"> | ||
<library-property> | <library-property> |
Latest revision as of 09:12, 8 January 2020
Property:
org.zkoss.zul.listbox.rod
Applicable: globally in zk.xml via <library-property> nested in a zul file via <custom-attributes>
Set render-on-demand for listbox components. Using render on demand, the listboxcomponents will automatically add and remove rows depending on client scrolling. On large models, this will avoid sending the full content during page rendering.
See performance documentation for additional information.
Default: false
apply on one component
<listbox>
<custom-attributes org.zkoss.zul.listbox.rod="true"/>
...
apply globally
<library-property>
<name>org.zkoss.zul.listbox.rod</name>
<value>true</value>
</library-property>
...
Version History