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
Faris Ansari
3475f6ccaa
fix: Set cell height explicitly
2019-12-09 22:35:53 +05:30
Faris Ansari
1a9c11edf0
fix: Render fluid layout if first row doesnt exist
2019-09-28 14:00:18 +05:30
Faris Ansari
ad0e0b592a
fix: Render blank state when rows is 0
2019-09-17 18:59:14 +05:30
Deepesh Garg
e014960e97
feat: Add support for RTL ( #64 )
2019-04-26 13:10:10 +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
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
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
33f7ab9c25
fix: 🐛 Reset body height before setting the bodyStyle
...
In case when there are very less number of rows, the height will adapt
to a lower value. But in the next refresh the number of rows could
increase so the body height should be reset to it's original value
2018-11-28 00:15:31 +05:30
Faris Ansari
89f13b530a
fix: 🐛 Skip setting cellHeight in setDimensions
...
cellHeight (row height technically) is now handled by hyperlist
directly, so no need to do it manually
2018-11-20 13:34:04 +01:00
Faris Ansari
cfbb891737
fix: 🐛 Adapt container height when there are less rows
2018-11-01 15:26:11 +05:30
Faris Ansari
84b7fa3d83
fix: 🐛 More robust column width calculation
...
Set minimum column width based on options (default 70), also measure
rowIndex column directly in DOM
2018-10-11 13:05:25 +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
4f57bb1b64
fix(filterRows): Show/hide rows using setStyle and removeStyle
...
Finding row elements and adding/removing classes on them is slower and unreliable
2018-09-23 14:45:12 +05:30
Faris Ansari
a04a5a1d7c
fix(columnWidth): Compensate for scrollbar only if there is vertical scroll
2018-08-23 14:22:35 +05:30
Faris Ansari
18fa7d2eca
fix(style): Make cell take full height in firefox
2018-07-19 14:59:44 +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
f9775ecdf2
Better implementation of setStyle
...
- handle overridding of styles by itself
2018-05-23 17:51:39 +05:30
Faris Ansari
149fe6a79d
move style methods into rAF
2018-04-22 13:55:27 +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
e5af37fb07
Better handling of 0 rows
2018-03-30 07:12:41 +05:30
Faris Ansari
88486b5a07
[fix] setDefaultCellHeight
2018-03-19 14:42:08 +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
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
0aa16d419a
Cache rowIndexColumnWidth based on digits
2018-02-28 11:45:55 +05:30
Faris Ansari
6ee51038d0
Indent using 4 spaces
2018-02-27 12:36:12 +05:30
Faris Ansari
d8fb48ba91
Create docs folder, add index.html
2018-02-23 23:30:24 +05:30
Faris Ansari
7bac878a84
Set rowIndex width based on rowCount
2018-02-23 15:04:18 +05:30
Faris Ansari
9ab618855f
[feature] Inline Filters
2018-02-21 19:01:04 +05:30
Faris Ansari
d2a735809d
Handle falsy column width
2018-02-21 15:56:40 +05:30
Faris Ansari
62203c79bb
Add cellHeight option, increase padding to spacer-2
2018-02-21 12:26:45 +05:30
Faris Ansari
664865d024
minor
2018-02-16 18:17:29 +05:30
Faris Ansari
330aa5f52a
Added Layout options: fixed, fluid
2018-02-16 18:13:17 +05:30
Faris Ansari
f8174da9c5
Copy only focusedCell
2017-11-29 13:05:37 +05:30
Faris Ansari
85f4b5af02
wip
2017-11-22 23:53:26 +05:30
Faris Ansari
3c2c530127
Row highlight bug fix
2017-11-20 12:02:26 +05:30
Faris Ansari
0a08f90740
Improvements
...
- setStyle adds style in-place
- smooth column resize
2017-11-17 11:50:20 +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