Faris Ansari
f5df997c00
feat: 🎸 Total Row
...
A persistent row which shows the total of the columns which have numeric
values. It also updates when the rows are filtered.
2018-11-29 16:39:35 +05:30
Faris Ansari
ec08d75261
fix: 🐛 Filter rows based on the formatted value
...
Earlier filtering was done based on the original value of the cell, but
formatters could change the display value
2018-11-29 13:19:56 +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
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
2cf2191f0f
fix(treeView): Decrease left padding of tree node cells
2018-07-08 17:35:16 +05:30
Faris Ansari
978682e1df
getEditor ( #33 )
...
* chore
- Add rollup devDependency
- Add tsconfig for cypress intellisense
* getEditor: getValue can now return a Promise that resolves to the value
2018-06-05 15:58:39 +05:30
Faris Ansari
b61f7fdcab
[fix] sortIndicator
2018-05-23 18:14:50 +05:30
Faris Ansari
e6a8cb8d7f
Deactivate filter on esc key
2018-05-23 18:03:17 +05:30
Faris Ansari
9151fe2886
[feature] Paste from clipboard
2018-04-23 00:20:10 +05:30
Faris Ansari
c6a0ab7f13
fix cell selection bug
2018-04-22 22:05:47 +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
5ff72dfcee
minor fixes
...
- edit cell orange border
- eslint fixes
- remove default left align
2018-04-15 22:18:58 +05:30
Faris Ansari
55e35e140e
[fix] allow cell formatter
2018-04-04 17:01:08 +05:30
Faris Ansari
b8a407ab73
Merge branch 'master' of https://github.com/frappe/datatable
2018-04-04 16:52:43 +05:30
Faris Ansari
d110ab7c59
Allow cell level formatters
2018-04-04 16:47:08 +05:30
Faris Ansari
ed85235ad1
Less verbose option naming
2018-03-13 10:36:57 +05:30
Faris Ansari
d41973475f
Pass column, row and data as context to getEditor
2018-03-07 15:56:53 +05:30
Faris Ansari
3651f23157
disable editing if getEditor returns false
2018-03-07 15:56:07 +05:30
Faris Ansari
dbed415ff3
minor
2018-03-07 14:18:01 +05:30
Faris Ansari
ee0f6e512e
Pass row, column and data as context to format
2018-03-07 13:40:25 +05:30
Faris Ansari
7683892142
Add enableTreeView flag
2018-03-05 23:02:10 +05:30
Faris Ansari
9eaa81f89d
Fix cell navigation if rows are hidden
2018-03-03 14:47:07 +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
6ee51038d0
Indent using 4 spaces
2018-02-27 12:36:12 +05:30
Faris Ansari
e1c2ef7e6b
bug fix
2018-02-23 17:28:48 +05:30
Faris Ansari
ce0e479f50
Pass cell object in format method
2018-02-23 16:52:55 +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
3c4198fc83
scrollToCell before .focus()
...
- .focus() scrolls to cell automatically, which conflicts with how scrollToCell works
- so changed the order
2018-02-21 15:04:05 +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
Rushabh Mehta
507b173243
focus before activate editing
2018-02-13 17:25:37 +05:30
Faris Ansari
a1ae31c858
Rename editing as getEditor
2018-02-12 11:34:15 +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
9ae7c3a8e6
accept dict as data
2018-02-06 22:51:42 +05:30
Rushabh Mehta
9a88d7c38a
fixes for height
2018-02-05 11:36:19 +05:30
Faris Ansari
0e6e9a7639
scrollToCell on focus
2017-12-29 15:32:41 +05:30
Faris Ansari
41995adf6a
Fix scrollToRow, Add empty state
2017-12-29 14:23:25 +05:30
Faris Ansari
d89f37481f
BInd keyboard events on wrapper
2017-12-27 15:15:47 +05:30
Faris Ansari
cd154f4a27
wip
2017-12-22 22:59:34 +05:30
Faris Ansari
96b471052c
Granular setting for edit cell, Refresh row api
2017-12-21 15:11:46 +05:30
Faris Ansari
22782cf7bd
Better scrollToRow with requestAnimationFrame
2017-12-15 00:36:38 +05:30
Faris Ansari
a4677014da
Remove css variables
2017-12-11 12:10:28 +05:30