231 Commits

Author SHA1 Message Date
Shariq Ansari
71272f8f9e
fix: get content value for specific fieldtypes 2023-03-03 11:33:03 +05:30
Shariq Ansari
6c79a19b29
fix: escape html to get tooltip text (#167) 2023-01-25 18:37:24 +05:30
Shariq Ansari
f990c1ff87
Merge pull request #161 from JulioJair/feature/rowmanager/check-all-filtered 2023-01-25 17:13:03 +05:30
Shariq Ansari
0b1ce23a33 fix: show datatable cell content in tooltip on hover 2023-01-25 16:53:34 +05:30
Julio de Alba
aa3f3be67f feat: 🎸 check all filtered rows
When datatable has filters applied, and the "check all" is used, it will
check only the rows that match the filters.
2022-09-22 07:07:20 -05:00
phot0n
430d7cfe48 fix: use custom formatter when filtering rows
As datatable renders only some rows at a time and sets each
cell's html property based on that rendering, so when someone
filters things and only looks at some rows without scrolling the whole
grid and tries to filter things (when there is a custom cell formatter),
they won't be able to see the data as the filtering is done based on cell's
content not html (as it's not set at that point)
2022-06-10 11:51:11 +05:30
Shariq Ansari
b4428639cb
Merge pull request #157 from shariquerik/keyboard-integration-fix 2022-06-08 19:57:17 +05:30
Shariq Ansari
d6a6c16fdf chore: minor fix 2022-06-08 19:51:19 +05:30
Shariq Ansari
42a236d9c8 fix: use left, right, up, down keys while editing cell value 2022-06-08 19:11:57 +05:30
Shariq Ansari
d2c4e21cca fix: Dont save if value is same 2022-06-08 19:10:41 +05:30
Shariq Ansari
5db24187e6
Merge branch 'master' into add-tooltip-on-filter 2022-01-27 12:51:06 +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
88a361f053 fix: Adding tooltip on filter inputs 2021-09-28 13:43:59 +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
Prssanna Desai
279a876f7d
fix: 🐛 scroll for rtl direction (#111) 2020-09-16 11:45:20 +05:30
prssanna
18964c0346 fix: 🐛 set content of empty cell to empty string for sorting 2020-02-29 15:56:36 +05:30
Faris Ansari
3475f6ccaa fix: Set cell height explicitly 2019-12-09 22:35:53 +05:30
Faris Ansari
31264d1f4d feat: Ability to disable column reordering 2019-10-01 00:12:17 +05:30
Faris Ansari
1a9c11edf0 fix: Render fluid layout if first row doesnt exist 2019-09-28 14:00:18 +05:30
Faris Ansari
d92fc5e969 feat: Allow overriding individual components 2019-09-17 19:00:11 +05:30
Faris Ansari
ad0e0b592a fix: Render blank state when rows is 0 2019-09-17 18:59:14 +05:30
Faris Ansari
a47e1f07eb fix: Move past non focusable cell while navigating 2019-08-11 18:00:39 +05:30
Deepesh Garg
3712aaada3 fix: Navigation fix using tabs in inline filters (#75) 2019-07-05 13:14:55 +05:30
Faris Ansari
40c8e51e86 fix: Set dropdown background as header background 2019-06-24 15:19:09 +05:30
Faris Ansari
b1962dffcf fix: Submit cell if editing deactivated
Editing cell will now submit the value when the editing is deactivated,
except when Escape key is pressed.
It will also submit when Tab key is pressed.
2019-06-24 15:11:24 +05:30
Faris Ansari
1a0eba65a0 fix: Number compare
- 006 will match abc006
- 1230 will match 1,230 (formatted), 1230 and abc1230
2019-06-24 15:08:39 +05:30
Deepesh Garg
bbca6d8f60 fix: String compare if hay is alphanumeric 2019-06-11 15:27:22 +05:30
Deepesh Garg
e25ef86a63 fix: Parse keyword as float (#68) 2019-05-28 17:45:53 +05:30
Deepesh Garg
b075fb5d71 fix: Compare number using contains instead of equals (#67) 2019-05-23 12:51:18 +05:30
Deepesh Garg
e014960e97
feat: Add support for RTL (#64) 2019-04-26 13:10:10 +05:30
Saif
67f9717827 perf: ️ Expand All and Collapse All render only once (#63)
* perf: ️ Expand All and Collapse All render only once

* Introduce setTreeDepth() function
2019-04-25 12:37:56 +05:30
Faris Ansari
8d96f953cd fix: Allow column to be resized below naturalWidth
- Also honor minimumColumnWidth option
2019-04-24 11:22:33 +05:30
Faris Ansari
944010d113 fix: Filter numeric columns by value
No need to use = to filter numeric values by their value
2019-04-16 12:43:21 +05:30
Faris Ansari
007579f55e feat: Add API for expand/collapse tree nodes 2019-04-05 17:02:31 +05:30
Faris Ansari
637d37deb8 feat: Add not equals (!=) filter 2019-04-03 23:10:00 +05:30
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
1845adc46e fix: Scroll problem when cell is focused 2019-03-30 17:19:23 +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
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
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
Saif Ur Rehman
d6aa52fb16 fix: 🐛 scrolling and height fixes 2018-12-20 05:33:39 +05:00
Faris Ansari
19fb921ed2 fix: 🐛 Border styling for header 2018-12-13 18:01:30 +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
b6d4a0eea7 feat: 🎸 Add = keyword for equality matching
Support = keyword for equality matching in numeric columns
2018-12-10 20:05:19 +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