org.zkoss.zul.invalidateThreshold"

From Documentation
(Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zul.invalidateThreshold {{NestedLibraryProperty}} Default: 10 [Since 8.0.1] It specifies the threshold num...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
  [Since 8.0.1]
 
  [Since 8.0.1]
  
It specifies the threshold number of changed items of a model to invalidate a widget's DOM elements for '''Grid, Listbox, Combobox'''. If the number of changed items (by adding or removing) is over the threshold, client widget will redraw itself instead of rendering changed items partially.
+
It specifies the threshold number of changed items of a model to invalidate a widget's DOM elements for '''Grid, Listbox, Combobox'''. If the number of changed items (by adding or removing) is over the threshold, client widget will redraw its DOM elements instead of just rendering changed items only.
  
 
<source lang="xml">
 
<source lang="xml">
 
<listbox>
 
<listbox>
     <custom-attributesorg.zkoss.zul.invalidateThreshold="200"/>
+
     <custom-attributes org.zkoss.zul.invalidateThreshold="200"/>
 
...
 
...
 
</listbox>
 
</listbox>
Line 21: Line 21:
 
=Version History=
 
=Version History=
 
{{LastUpdated}}
 
{{LastUpdated}}
{| border='1px' | width="100%"
+
 
! Version !! Date !! Content
 
|-
 
|
 
|
 
|
 
|}
 
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 03:12, 8 March 2018


org.zkoss.zul.invalidateThreshold


Property:

org.zkoss.zul.invalidateThreshold
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-check-icon.png nested in a zul file via <custom-attributes>
Default: 10
[Since 8.0.1]

It specifies the threshold number of changed items of a model to invalidate a widget's DOM elements for Grid, Listbox, Combobox. If the number of changed items (by adding or removing) is over the threshold, client widget will redraw its DOM elements instead of just rendering changed items only.

<listbox>
    <custom-attributes org.zkoss.zul.invalidateThreshold="200"/>
...
</listbox>


Version History

Last Update : 2018/03/08




Last Update : 2018/03/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.