mirror of
https://github.com/ExactTarget/fuelux.git
synced 2026-04-26 03:00:10 -04:00
Merge pull request #1256 from BenjaminNeilDavis/issue-1246-index-frozen-repeater
Adding a Frozen Column repeater to index page
This commit is contained in:
@@ -45,4 +45,8 @@
|
||||
.example-pill-class {
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#myRepeater[data-currentview="list.frozen"] table thead tr th, #myRepeater[data-currentview="list.frozen"] .repeater-list-heading {
|
||||
width: 400px;
|
||||
}
|
||||
@@ -1127,11 +1127,14 @@
|
||||
</div>
|
||||
<div class="btn-group repeater-views" data-toggle="buttons">
|
||||
<label class="btn btn-default active">
|
||||
<input name="repeaterViews" type="radio" value="list"><span class="glyphicon glyphicon-list"></span>
|
||||
<input name="repeaterViews" type="radio" value="list.list"><span class="glyphicon glyphicon-list"></span>
|
||||
</label>
|
||||
<label class="btn btn-default">
|
||||
<input name="repeaterViews" type="radio" value="thumbnail"><span class="glyphicon glyphicon-th"></span>
|
||||
</label>
|
||||
<label class="btn btn-default">
|
||||
<input name="repeaterViews" type="radio" value="list.frozen"><span class="glyphicon glyphicon-list"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
28
index.js
28
index.js
@@ -582,11 +582,32 @@ define(function (require) {
|
||||
thumbnail(options, callback);
|
||||
}
|
||||
},
|
||||
list_selectable: 'multi',
|
||||
list_noItemsHTML: 'no items found',
|
||||
thumbnail_noItemsHTML: 'no items found',
|
||||
thumbnail_infiniteScroll: {
|
||||
hybrid: true
|
||||
views: {
|
||||
'list.list': {
|
||||
dataSource: function (options, callback) {
|
||||
list(options, callback);
|
||||
},
|
||||
list_selectable: 'multi'
|
||||
},
|
||||
'thumbnail': {
|
||||
dataSource: function (options, callback) {
|
||||
thumbnail(options, callback);
|
||||
},
|
||||
thumbnail_infiniteScroll: {
|
||||
hybrid: true
|
||||
}
|
||||
},
|
||||
'list.frozen': {
|
||||
dataSource: function (options, callback) {
|
||||
list(options, callback);
|
||||
},
|
||||
list_columnSizing:false,
|
||||
list_columnSyncing: false,
|
||||
list_selectable: false, // (single | multi)
|
||||
list_frozenColumns: 1
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -609,6 +630,7 @@ define(function (require) {
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
SCHEDULER
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
||||
|
||||
Reference in New Issue
Block a user