61 Commits

Author SHA1 Message Date
Ejaaz Khan
f1c2cd916c feat: add support for sticky columns 2025-02-19 16:04:59 +05:30
Faris Ansari
b21e547794
fix: appendRows bug (#181)
Co-authored-by: ArunMuthuram <65416680+ArunMuthuram@users.noreply.github.com>
2023-11-21 13:24:35 +05:30
Suraj Shetty
7ee8ca9304
fix: 🐛 Apply range filter only for numbers (#176) 2023-09-11 13:05:09 +05:30
Faris Ansari
95a239963c fix: column resizing in rtl direction 2022-01-17 16:38:49 +05:30
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
Shariq Ansari
8ceadaccba
fix: update rowIndex width when row count changes (#138)
* fix: update rowIndex width when row count changes

* fix: removed unwanted code

* fix: Added Refresh Data button
2021-08-20 17:07:35 +05:30
Deepesh Garg
e25ef86a63 fix: Parse keyword as float (#68) 2019-05-28 17:45:53 +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
302c1f83d5 fix: 🐛 Smarter setting of bodyHeight based on overflow
When there are only a couple of rows, the scrollbar causes a scroll
which is not needed. We check if the overflow amount is less than the
size of scrollbar and then forcefully disable the scrolling.
2018-12-22 13:02:31 +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
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
f791c91df6 fix: 🐛 Numeric comparison should compare with cell value
Numeric comparison like >, < should compare with the cell value and not
the formatted html value
2018-11-29 13:41:07 +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
6fe075467d fix: 🐛 Sort rows numerically
Default sort method uses alphabetical sort
2018-11-01 16:40: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
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
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
1b5292a7f0 feat(theme): Add dark theme
Add a new stylesheet which overrides the css variables in the core stylesheet to obtain a dark theme
2018-07-08 19:13:21 +05:30
Faris Ansari
48e0034eb1 test: Remove default sort and let test pass 2018-07-07 22:28:29 +05:30
Faris Ansari
d225308151 feat(sort): Apply sortOrder in initialization 2018-07-07 22:07:16 +05:30
Faris Ansari
fde1b7bcc9 Refactor CSS to use BEM style 2018-04-21 19:09:56 +05:30
Faris Ansari
4bb4002300 [feature] Dynamic Row Height 2018-04-06 17:07:22 +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
0a402b3f38 Columns have name or content property 2018-03-12 15:38:21 +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
25e2c6cc35 Column Distribution based on ratio 2018-03-05 17:08:38 +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
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
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
Faris Ansari
a1ae31c858 Rename editing as getEditor 2018-02-12 11:34:15 +05:30
Faris Ansari
0d7fc93b37 minor fixes 2018-02-06 23:50:15 +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
a4677014da Remove css variables 2017-12-11 12:10:28 +05:30
Faris Ansari
344de18c41 Split body rendering code in class BodyRenderer 2017-12-02 01:55:09 +05:30
Faris Ansari
6751dbc070 Show sort indicator 2017-11-28 18:14:43 +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
785cf8f466 Removed jQuery 💃 2017-11-05 21:31:20 +05:30
Faris Ansari
f9145845a9 Mouse Selection 2017-11-02 10:40:48 +05:30
Faris Ansari
3d43f77514 Add blank column in test data 2017-10-27 16:30:14 +05:30