58 Commits

Author SHA1 Message Date
Himanshu
6d6602f202
feat: translations (#145)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>
2022-01-03 18:41:52 +05:30
Faris Ansari
d92fc5e969 feat: Allow overriding individual components 2019-09-17 19:00:11 +05:30
Deepesh Garg
e014960e97
feat: Add support for RTL (#64) 2019-04-26 13:10:10 +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
fb4370020f fix: 🐛 Always show vertical scrollbar
Decouple bodyScrollable from header. Now header position is synced based
on scrollLeft of bodyScrollable. Also, remove redundant .dt-body
container.
2018-12-13 16:59:30 +05:30
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
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
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
c61e53da8c [fix] headerDropdown option merge 2018-05-18 12:18:30 +05:30
Faris Ansari
9151fe2886 [feature] Paste from clipboard 2018-04-23 00:20:10 +05:30
Faris Ansari
351aca3243 add hideAfter functionality to showToastMessage\n- also minor html refactor 2018-04-22 13:15:23 +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
e5af37fb07 Better handling of 0 rows 2018-03-30 07:12:41 +05:30
Faris Ansari
f55c4a6b28 updateOptions API 2018-03-13 11:08:34 +05:30
Faris Ansari
ed85235ad1 Less verbose option naming 2018-03-13 10:36:57 +05:30
Faris Ansari
b3f281b214 refresh api can now update columns 2018-03-07 14:49:36 +05:30
Faris Ansari
128a674ad6 [feat] Toast Message 2018-03-02 21:22:36 +05:30
Faris Ansari
6ee51038d0 Indent using 4 spaces 2018-02-27 12:36:12 +05:30
Faris Ansari
67ea7746a2
Switch to Rollup (#16)
* Added Rollup config

* Add cjs build

* Remove webpack configs
2018-02-20 18:28:32 +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
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
51e077cad3 setColumnWidth based on column property 2018-01-08 22:08:45 +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
d5cd4964d7 Append all pages with promises 2017-12-19 13:32:04 +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
95371bc86b focusCell and selectArea on clusterChanged 2017-11-17 22:35:13 +05:30
Faris Ansari
2543a9b602 Cleanup utils.js, move functions to their respective files 2017-11-16 21:46:27 +05:30
Faris Ansari
34b067d27a minor fixes 2017-11-08 10:33:01 +05:30
Faris Ansari
0ccc3627ae Add RowManager and ColumnManager 2017-11-06 18:25:07 +05:30
Faris Ansari
785cf8f466 Removed jQuery 💃 2017-11-05 21:31:20 +05:30
Faris Ansari
1d7278d3d6 Refactor style, use native styleSheet method to set style 2017-11-05 14:30:22 +05:30
Faris Ansari
6e71a71de0 [wip] Scroll to Cell 2017-11-02 21:32:37 +05:30
Faris Ansari
f28684243a Ctrl+direction keyboard navigation 2017-11-02 12:58:31 +05:30
Faris Ansari
89dfaa13ed Copy cell contents 2017-11-02 09:54:41 +05:30
Faris Ansari
4316c5834e Restrict column navigation 2017-11-02 08:43:15 +05:30
Faris Ansari
0d211350dc Add CellManager 2017-11-01 22:32:30 +05:30
Faris Ansari
48815f1774 Removed boostrap styling 2017-11-01 17:07:32 +05:30