Faris Ansari
7b325a5ba0
feat: Double click resize handle to resize to perfect width
2019-03-30 17:22:25 +05:30
Faris Ansari
3446488b08
fix: Allow column resize past minWidth upto 30px
2019-03-30 17:21:08 +05:30
Faris Ansari
3fc8ac9e72
fix: 🐛 Dropdown z-index problem
...
Z-index of dropdown does not work because it's parent has a transform
property. To avoid this, we float the dropdown using fixed co-ordinates
and then update the x, y positions.
2018-12-28 19:16:26 +05:30
Faris Ansari
acfe0e49cd
fix: 🐛 Comparison now also works with strings
...
Inline filters like >2011/04/01 will work as expected. Works with >, <
and :
2018-12-28 18:10:24 +05:30
Faris Ansari
7eaabcbfe0
fix: 🐛 Reimplement tree node toggle logic
...
Earlier, rows were hidden using style. Now, since we are using
hyperlist, it is better to refresh the whole list.
2018-10-31 19:09:40 +05:30
Faris Ansari
932afb6cbe
feat: 🎸 Support for multiple filters in columns
...
Multiple inline filters will be applied as AND filters
2018-10-16 13:56:10 +05:30
Faris Ansari
51b112687e
feat: 🎸 Use HyperList instead of Clusterize to render rows
...
Clusterize failed to load rows if they were above 1000, this may be a
problem of datatable itself, since it has a complex DOM structure, but
hyperlist works better in it's case.
2018-10-10 14:34:56 +05:30
Faris Ansari
2ce132c0bc
fix(class selector): Replace all selectors with class based selectors
...
Class based selectors are faster than attribute based ones.
2018-09-23 14:54:00 +05:30
Faris Ansari
7531e13d17
feat(icons): Use feather icons instead of raw ascii strings
2018-08-23 13:52:58 +05:30
Faris Ansari
cdb276abfd
feat(filter): Filter now supports complex queries for Number columns
...
More advanced filter support for Number columns
For e.g
>5000 filters rows with the cell value greater than 5000
<30 filters rows with cell value less than 30
20:340 filters rows with cell value in the range of 20 and 340
You can also provide a custom filter function by providing a
`filterRows` function in the options during initialization.
2018-08-09 13:30:02 +05:30
Faris Ansari
226aea24df
fix(toggleFilter): Return early if inlineFilter is disabled
2018-07-14 11:31:45 +05:30
Faris Ansari
bddb3c27ce
fix(destroy): Cleanup event listeners on destroy
...
Event listeners attached to elements inside the root datatable wrapper are automatically removed
when the root element is removed from DOM. But, there are event listeners which are attached to
window and body, those have to be manually removed. This commit introduces an internal event system,
through which we destroy global event handlers.
2018-07-10 12:00:41 +05:30
Faris Ansari
d225308151
feat(sort): Apply sortOrder in initialization
2018-07-07 22:07:16 +05:30
Faris Ansari
f3a8b465ef
bindMoveColumn on every call of refreshHeader
2018-05-23 17:52:17 +05:30
Faris Ansari
4c345b1a4c
Use the new BEM syntax for querySelector
2018-04-22 13:55:05 +05:30
Faris Ansari
fde1b7bcc9
Refactor CSS to use BEM style
2018-04-21 19:09:56 +05:30
Faris Ansari
e5af37fb07
Better handling of 0 rows
2018-03-30 07:12:41 +05:30
Faris Ansari
98b0359f08
Compensate for scrollbarWidth in lastColumn
2018-03-19 00:20:29 +05:30
Faris Ansari
ed85235ad1
Less verbose option naming
2018-03-13 10:36:57 +05:30
Faris Ansari
470ab90fef
Tree expand/collapse working
2018-03-02 15:42:51 +05:30
Faris Ansari
081dbac41b
Rename data-table-col to data-table-cell, Add Tree Structure support
2018-03-01 23:52:21 +05:30
Faris Ansari
48f98be8d2
Remove Column bug fix
2018-02-28 17:49:33 +05:30
Faris Ansari
6ee51038d0
Indent using 4 spaces
2018-02-27 12:36:12 +05:30
Faris Ansari
a467d164a9
[InlineFilters] Don't bind if disabled
2018-02-21 19:06:10 +05:30
Faris Ansari
9ab618855f
[feature] Inline Filters
2018-02-21 19:01:04 +05:30
Faris Ansari
330aa5f52a
Added Layout options: fixed, fluid
2018-02-16 18:13:17 +05:30
Rushabh Mehta
af24f0e679
keyboard and bodyscroller fixes
2018-02-15 22:05:54 +05:30
Faris Ansari
e41e6ad386
Move getHTML methods inside class
2018-02-12 11:34:08 +05:30
Faris Ansari
0ebe0461e1
Rmehta cell refactor ( #13 )
...
* refactor: prepare cells
* checkbox sequence and always focus before deactivate
* don't set model
* fixes
* minor
2018-02-11 22:05:15 +05:30
Faris Ansari
3cf8fbe141
Keep focus on cell after escape, editing cell color
2018-02-07 00:09:24 +05:30
Rushabh Mehta
9a88d7c38a
fixes for height
2018-02-05 11:36:19 +05:30
Faris Ansari
51e077cad3
setColumnWidth based on column property
2018-01-08 22:08:45 +05:30
Faris Ansari
cd154f4a27
wip
2017-12-22 22:59:34 +05:30
Faris Ansari
22782cf7bd
Better scrollToRow with requestAnimationFrame
2017-12-15 00:36:38 +05:30
Faris Ansari
344de18c41
Split body rendering code in class BodyRenderer
2017-12-02 01:55:09 +05:30
Faris Ansari
d3a4add85b
Fire events on column actions
2017-11-29 13:31:15 +05:30
Faris Ansari
6751dbc070
Show sort indicator
2017-11-28 18:14:43 +05:30
Faris Ansari
ba0e339d2c
Column actions in dropdown
2017-11-28 16:59:53 +05:30
Faris Ansari
608e133ff9
Move column and Delete column working
2017-11-28 13:04:07 +05:30
Faris Ansari
877d6d0695
Promisify sorting, add column resizer handle
2017-11-27 13:37:43 +05:30
Faris Ansari
85f4b5af02
wip
2017-11-22 23:53:26 +05:30
Faris Ansari
0a08f90740
Improvements
...
- setStyle adds style in-place
- smooth column resize
2017-11-17 11:50:20 +05:30
Faris Ansari
2543a9b602
Cleanup utils.js, move functions to their respective files
2017-11-16 21:46:27 +05:30
Faris Ansari
0ccc3627ae
Add RowManager and ColumnManager
2017-11-06 18:25:07 +05:30