KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Enabling Quick Scrolling in Data Tree
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: March 20, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.0

When using the Data Tree object in the 4D Ajax Framework, it is possible to turn on quick scrolling for large amounts of data. Here is an example:


var myDataTree1 = new HGrid(document.getElementById("dax_dt1"), "3");


This will create a basic Data Tree.

To allow for quick scrolling, you simply need to add one line of code:


myDataTree1.setQuickScroll(true);