Ejaaz Khan
f1c2cd916c
feat: add support for sticky columns
2025-02-19 16:04:59 +05:30
Smit Vora
ba9814228d
fix: reset the footer to ensure old totals are cleared ( #202 )
2025-02-06 14:43:14 +05:30
Ankush Menat
bed2708bd5
perf: rendering large data ( #197 )
...
visibleRowIndices.includes is major culprit in rendering data table.
This is because for every row it does this computation, so instead of
O(N) operation it becomes O(N^2)
2024-03-13 17:40:57 +05:30
Faris Ansari
ad0e0b592a
fix: Render blank state when rows is 0
2019-09-17 18:59:14 +05:30
Saif
0f44a51da3
feat: 🎸 Total Accumulator hook for totals row ( #55 )
...
* feat: 🎸 Accumulator event for totals row
* fix: 🐛 Changed values passed to accumulator function
and moved function to hooks.totalAccumulator
* fix: 🐛 Total row set null for column without any number
* fix: Refactor accumulator
- Rename to columnTotal
* fix: 🐛 Prevent showing 0 in total row for Data fieldtype
* fix: Remove hooks object from parent
* fix: Remove separate hooks initialization
2019-02-12 19:51:13 +05:30
Faris Ansari
3e044a5ffa
feat: 🎸 Add compareValue hook to control comparison
...
For custom comparison where the formatted value is different than the
actual value, users will mostly compare using the formatted string. Use
compareValue to return parsed cell value and keyword.
2019-01-14 13:34:04 +05:30
Faris Ansari
bdbdc90578
fix: 🐛 Initialize hyperlist with width/height of container
2018-12-13 18:01:01 +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
c559faa67b
fix: 🐛 Sort filtered results
...
Fixes the problem where when you sort rows and then try to filter, the
sort order is lost.
closes #51
2018-12-10 19:30:12 +05:30
Faris Ansari
1e20502d09
fix: 🐛 Extract getTotalRow into a function
2018-12-07 17:15:08 +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
cfbb891737
fix: 🐛 Adapt container height when there are less rows
2018-11-01 15:26:11 +05:30
Faris Ansari
1f27d194ca
fix: 🐛 Remove non-existing bindEvents method call
2018-11-01 11:29:15 +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
01d74ef6ad
fix: 🐛 Pick cellHeight from options
...
HyperList should take cellHeight from options
2018-10-10 16:49:44 +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
f790a6729a
fix: 🐛 Show all rows in restore state
...
When you refresh datatable after some rows are hidden, after refresh
they remain hidden.
2018-10-05 15:22:47 +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
f61f97d22f
Remove unused functions from utils, Rename promisify to nextTick
2018-03-19 00:19:52 +05:30
Faris Ansari
ed85235ad1
Less verbose option naming
2018-03-13 10:36:57 +05:30
Faris Ansari
128a674ad6
[feat] Toast Message
2018-03-02 21:22:36 +05:30
Faris Ansari
1e71ab9f16
Render rows based on rowViewOrder
2018-03-01 22:23:08 +05:30
Faris Ansari
6ee51038d0
Indent using 4 spaces
2018-02-27 12:36:12 +05:30
Faris Ansari
330aa5f52a
Added Layout options: fixed, fluid
2018-02-16 18:13:17 +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
d9d663d541
minor fixes
2018-02-02 15:16:59 +05:30
Faris Ansari
eb800beb90
append first page, and rest in next tick
2017-12-29 15:38:55 +05:30
Faris Ansari
41995adf6a
Fix scrollToRow, Add empty state
2017-12-29 14:23:25 +05:30
Faris Ansari
cd154f4a27
wip
2017-12-22 22:59:34 +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