Log In    |    Knowledge Base    |    4D Home
Tech Tip: Allowing Multiple Selection of data in Calendar Object
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: March 20, 2007

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

It is possible to turn on multiple selection of data in the when using the Calendar object in the 4D Ajax Framework. Here is an example:

var myCalView1= new calendarView(document.getElementById("dax_cal1"),
"2", "[2][4]", "[2][5]", null, null, null, null);
   myCalView1.customize(true, true, true);

This will create a basic Calendar that allows single selection of data.

To allow for multiple selection, you simply need to add one line of code: