File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 19
19
< script src ="grid.js "> </ script >
20
20
< script >
21
21
$ ( function ( ) {
22
+ // TODO extract this and test it with large datasets (see large.html)
22
23
// Just a temporary design to show what a new widget inheriting from
23
24
// grid could look like.
24
25
// Metadata such as column type, culture, format and sort-order probably
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ $.widget( "ui.grid", {
53
53
this . options . type = type ;
54
54
55
55
var fieldDescriptions = { } ;
56
+ // TODO seperate column extraction from data extraction to make columns option actually optional
57
+ // TODO if columns is specified but not table header exist, generate it
56
58
var fields = this . options . columns = this . element . find ( "th" ) . map ( function ( ) {
57
59
var th = $ ( this ) ,
58
60
field = $ ( this ) . data ( "field" ) ;
You can’t perform that action at this time.
0 commit comments