This example uses two small database files(info deviously stolen from wikipedia):
parties.csv: A one-column list of the political parties.
presidents.csv: A multi-column list of all the US presidents,
Select party :
Number
President
Took office
Left office
Vice president
7
Andrew Jackson
March 4, 1829
March 4, 1837
John Calhoun, Martin Van Buren
8
Martin Van Buren
March 4, 1837
March 4, 1841
Richard Johnson
11
James Polk
March 4, 1845
March 4, 1849
George Dallas
14
Franklin Pierce
March 4, 1853
March 4, 1857
William King[1] vacant
15
James Buchanan
March 4, 1857
March 4, 1861
John Breckinridge
17
Andrew Johnson
April 15, 1865
March 4, 1869
vacant
22
Grover Cleveland
March 4, 1885
March 4, 1889
Thomas Hendricks
24
Grover Cleveland (2nd time)
March 4, 1893
March 4, 1897
Adlai E. Stevenson
28
Woodrow Wilson
March 4, 1913
March 4, 1921
Thomas Marshall
32
Franklin Roosevelt
March 4, 1933
April 12, 1945
John Garner, Henry Wallace, Harry Truman
33
Harry Truman
April 12, 1945
January 20, 1953
vacant, Alben Barkley
35
John Kennedy
January 20, 1961
November 22, 1963
Lyndon Johnson
36
Lyndon Johnson
November 22, 1963
January 20, 1969
vacant, Hubert Humphrey
39
Jimmy Carter
January 20, 1977
January 20, 1981
Walter Mondale
42
Bill Clinton
January 20, 1993
January 20, 2001
Al Gore
Summary:
The Democratic Party is one of two major political parties in the United States, the other being the Republican Party. The party under its present name was established by Andrew Jackson during the 1820s, but it traces its origins to Thomas Jefferson and the Democratic-Republican Party in 1792. It is the oldest political party in the world.
Currently, the Democratic Party is the minority party in the United States Senate and the House of Representatives. Democrats control 19 state legislatures and 22 governorships. Since 1896, the Democrats have been the more liberal major party (in the modern American sense of the word, i.e. center-left). The pro-working class, activist philosophy of Franklin D. Roosevelt has shaped much of the party's agenda since 1933; his New Deal coalition controlled the national government into the 1960s. The Civil Rights Movement of the 1960s, championed by the party despite opposition at the time from its conservative Southern wing, has continued to inspire the party's ideas and principles. Wikpedia link.
How does all this work, then?
Well, if you look at the code(example_presidents.js), you see what happens(just look, don't run).
But basically i am using two dataviews, and between these there is a master-detail relationship.
The description text above is changed through the data_aware_object's onChange event, here set on creation.
NOTE: This project is not actively maintained, however, parts of this project has moved to the Business Process Management System Optimal BPM. Check out that later on.