Example - Hidden Columns

#
Title
Duration
% Complete
Start
Finish
Effort Driven
0
Task 0
5 days
01/01/2009
01/05/2009
1
Task 1
5 days
01/01/2009
01/05/2009
2
Task 2
5 days
01/01/2009
01/05/2009
3
Task 3
5 days
01/01/2009
01/05/2009
4
Task 4
5 days
01/01/2009
01/05/2009
5
Task 5
5 days
01/01/2009
01/05/2009
6
Task 6
5 days
01/01/2009
01/05/2009
7
Task 7
5 days
01/01/2009
01/05/2009
8
Task 8
5 days
01/01/2009
01/05/2009
9
Task 9
5 days
01/01/2009
01/05/2009
10
Task 10
5 days
01/01/2009
01/05/2009
11
Task 11
5 days
01/01/2009
01/05/2009
12
Task 12
5 days
01/01/2009
01/05/2009
13
Task 13
5 days
01/01/2009
01/05/2009
14
Task 14
5 days
01/01/2009
01/05/2009
15
Task 15
5 days
01/01/2009
01/05/2009
16
Task 16
5 days
01/01/2009
01/05/2009
17
Task 17
5 days
01/01/2009
01/05/2009
Showing all 50000 rows
Search:


Hide Duration Column

Demonstrates:

  • a filtered Model (DataView) as a data source instead of a simple array
  • grid reacting to model events (onRowCountChanged, onRowsChanged)
  • FAST DataView recalculation and real-time grid updating in response to data changes.
    The grid holds 50'000 rows, yet you are able to sort, filter, scroll, navigate and edit as if it had 50 rows.
  • adding new rows, bidirectional sorting
  • column options: cannotTriggerInsert
  • events: onCellChange, onAddNewRow, onKeyDown, onSelectedRowsChanged, onSort
  • NOTE: all filters are immediately applied to new/edited rows
  • Handling row selection against model changes.
  • Paging.
  • inline filter panel

View Source: