Sol Villar
30ad0ad111
[ #427 ] Fixed columns, buttons and general styles.
2015-03-05 01:14:49 -03:00
amercader
0990dce8ed
Sanitize header name on SlickGrid view. Fixes #465
...
SlickGrid will use `$.html`[1] to render the header cell contents.
This means that if you are loading an external dodgy CSV like the
following one, scripts will be evaluated:
```
field1,field2<script>alert(123)</script>,field3
data1,data2,data3
data1,data2,data3
```
This fix sanitizes the label when initializing SlickGrid removing all
that isn't text.
[1] e6e2f88f83/slick.grid.js (L563)
2015-02-25 13:26:03 +00:00
Rufus Pollock
80bb0dd937
[view/slickgrid][s]: refactor to move row reordering setup into separate function.
...
* Plus we do not set up row reordering unless enableReOrderRow is set in options
2014-09-14 00:18:42 +01:00
Rufus Pollock
e6c2d48400
[view/slickgrid][s]: tidy up e.g. whitespace (no substance to change).
2014-09-14 00:13:23 +01:00
aliounedia
50b8ab46e0
[ #407 ] support for row reordering in grid
2014-04-28 18:48:32 +02:00
aliounedia
7c01e628ba
[ #407 support for row reordering in sclickgrid]
2014-04-28 17:49:12 +02:00
aliounedia
49282b59f7
[ #407 support for row reordering in sclickgrid]
2014-04-28 17:44:39 +02:00
aliounedia
0e62d91f57
[ #407 ] support for row reordering in slickGrid
2014-04-28 15:15:30 +02:00
aliounedia
d94da32187
[ #396 Support row reordering in slickgrid grid]
2014-04-28 15:10:36 +02:00
aliounedia
8bf518c0e2
recline support for row reordering grid
2014-04-28 15:10:35 +02:00
Rufus Pollock
c38e1aacdc
[#384,ux][s]: tweak look of delete row buttons in slickgrid.
2014-03-04 21:07:53 +00:00
aliounedia
9ddd9e0522
[ #392 ] preventDefault on grid after row deletion
2014-02-17 23:48:02 +01:00
aliounedia
39286ddc83
[ #385 ]add row add delete support for reclinejs
2014-02-04 21:27:36 +01:00
aliounedia
9a75007478
src/view.slickgrid.js
2014-01-24 12:00:14 +01:00
aliounedia
a046861c4a
[ #384 , slickgrid][s]: slickgrid add support for row-add and row-delete
2014-01-20 23:33:34 +01:00
aliounedia
66daf6f36f
[ #384 , slickgrid][s]: slickgrid add support for row-add and row-delete
2014-01-20 23:28:37 +01:00
aliounedia
4e41afca90
[ #384 , slickgrid][s]: slickgrid add support for row-add
2014-01-17 00:09:18 +01:00
aliounedia
ba8a84f748
[ #384 , slickgrid][s]: slickgrid add support for row-delete
2014-01-16 00:27:04 +01:00
aliounedia
7fbab3d8d8
[#384,slickgrid][s]add validator function to validate input
2014-01-15 11:40:07 +01:00
aliounedia
dc24909409
[#384,sclickgrid][s] add field validator bind to field.format
2014-01-13 22:42:16 +01:00
Rufus Pollock
45fa438803
[#384,slickgrid][s]: slickgrid sets editor type automatically from field type.
...
* multiview demo now has editing turned on
* [license][xs]: update to 2011-2014.
2014-01-12 22:44:54 +00:00
Dan Wilson
155ce78828
Merge pull request #354 from okfn/issue-351
...
Event handling cleanup
2013-05-15 02:25:43 -07:00
Dan Wilson
28052c2717
Use underscore's indexOf() and filter() rather than relying on native versions. Issue #323 .
2013-05-14 18:44:00 +01:00
Dan Wilson
ea8c8f1a5b
Clean up slickgrid events on removal
2013-05-14 13:11:21 +01:00
Dan Wilson
5ef821c92a
Use listenTo() rather than bind() in the views so that the events get unbound upon removal.
2013-05-14 12:43:22 +01:00
Dan Wilson
8ea1a81c0a
Updated code and tests to stop recline clobbering view.el. Issue #350 .
2013-05-13 18:52:37 +01:00
Dan Wilson
b72dd0fb62
Enabled strict mode, and fixed issues raised.
2013-05-13 16:53:55 +01:00
John Glover
8da456d713
[ #340 ] More cleanup of view.slickgrid.js
2013-04-16 13:08:06 +02:00
John Glover
5839ab8fa6
[ #340 ] jshint cleanup of view.slickgrid.js
2013-04-15 17:58:28 +02:00
Rufus Pollock
98e346b270
Merge pull request #261 from sleeper/fix_typo
...
[view/slickgrid][xs]: Fixed typo in comments.
2012-10-29 02:18:09 -07:00
Frederick Ros
0aa85c9560
Update the grid when a record is changed
...
Fixes #255
2012-10-24 00:01:08 +02:00
Frederick Ros
abb23cc5e3
Fixed typo in comments
2012-10-22 19:07:57 +02:00
Frederick Ros
1cc8df020d
The slickgrid view can now be edited.
2012-10-14 20:56:25 +02:00
Rufus Pollock
75ef00182e
[#246,bugfix,slickgrid][s]: fix for issue where slickgrid view not presenting columns in order of Dataset Fields - fixes #246 .
...
Bug details: Issue was that sorting of columns was happening inside SlickGrid view even though not supposed to (no special column order had been provided). Specific issue is at following lines 4737d7ecc5/src/view.slickgrid.js (L88) :
// Order them if there is ordering info on the state
if (this.state.get('columnsOrder')) {
Problem is that state.columnsOrder is the empty array (by default) and in javascript `Boolean([])` is true.
2012-10-14 18:13:13 +01:00
Rufus Pollock
4737d7ecc5
[#218,refactor,query][m]: refactor query object sort attribute structure as described in #218 - fixes #218 .
2012-08-21 23:55:03 +01:00
Rufus Pollock
bc414e9f8c
[#212,views][s]: refactor views and tutorial so that no render call in initialize and view element can be passed in externally ( fixes #212 ).
2012-08-15 12:33:59 +01:00
Rufus Pollock
6f78b7b1be
[#211,view][s]: switch show/hide from events to explicit methods - fixes #211 .
2012-08-15 10:57:58 +01:00
Joseph Reisinger
073c998f12
fix a bug where columns don't sort properly in slickgrid
2012-07-09 15:43:22 -07:00
Rufus Pollock
a58f5e5bb0
[#174,refactor][s]: rename currentRecords to records on Dataset.
2012-07-05 15:37:17 +01:00
Rufus Pollock
d3c9f30e74
[view/slickgrid][xs]: set recline-slickgrid on view element so that we can pass element in to the view (neede for non-multiview usage e.g. in tutorial).
2012-06-29 20:27:01 +01:00
amercader
b6eb375624
[#130,view/slickgrid] Don't store sort info on state, as it is stored on the query
2012-06-12 13:22:39 +01:00
amercader
20d7683223
[#130,view/slickgrid] Sort documents on SlickGrid view
2012-06-11 13:47:41 +01:00
Rufus Pollock
e73be69499
[refactor][s]: standardize naming of files to use '.' rather than '-' as separator.
2012-06-06 10:40:22 +01:00