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
01d74ef6ad
fix: 🐛 Pick cellHeight from options
...
HyperList should take cellHeight from options
v1.4.1
2018-10-10 16:49:44 +05:30
Faris Ansari
cbe9f4858b
Merge pull request #49 from frappe/hyperlist
...
feat: 🎸 Use HyperList instead of Clusterize to render rows
v1.4.0
2018-10-10 14:40:02 +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.
v1.3.3
2018-10-05 15:22:47 +05:30
Faris Ansari
d01e045157
Merge branch 'master' of https://github.com/frappe/datatable
v1.3.2
2018-09-23 14:54:25 +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
87a44a94f0
chore: Add blog link to readme
2018-08-23 21:13:48 +05:30
Faris Ansari
a04a5a1d7c
fix(columnWidth): Compensate for scrollbar only if there is vertical scroll
v1.3.1
2018-08-23 14:22:35 +05:30
Faris Ansari
7531e13d17
feat(icons): Use feather icons instead of raw ascii strings
v1.3.0
2018-08-23 13:52:58 +05:30
Faris Ansari
307de6ed55
test(filter): Add test for the new filter feature
v1.2.0
2018-08-09 14:20:55 +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
ae6415c950
fix(cell): Disable text selection to enable drag to select in cells
v1.1.6
2018-07-20 10:48:21 +05:30
Faris Ansari
bbc54853c8
fix(build): Fix typo to generate production assets
v1.1.5
2018-07-19 18:18:12 +05:30
Faris Ansari
ffac2cbe0b
ci(travis): Run semantic release directly
v1.1.4
2018-07-19 15:39:03 +05:30
Faris Ansari
18fa7d2eca
fix(style): Make cell take full height in firefox
2018-07-19 14:59:44 +05:30
Faris Ansari
7417b0fdcd
fix(style): Namespace CSS variables to avoid clash with foreign CSS variables
2018-07-19 14:42:30 +05:30
Faris Ansari
1f387c9079
fix(theme): Include CSS variables in the final css build
...
CSS Variables should be built into the distributable css file for theme support
2018-07-19 14:28:03 +05:30
Faris Ansari
312335d419
chore(cdn): Add filepath in package.json for CDNs
...
Add the filepath for CDNs unpkg and jsdelivr so that they serve minified files by default
v1.1.3
2018-07-14 11:43:25 +05:30
Faris Ansari
0856f6cdf7
fix(css): Table cell border fix for firefox and edge browser
...
Firefox and Edge paints the cell background over the border of the cell. This fixes that.
2018-07-14 11:32:16 +05:30
Faris Ansari
226aea24df
fix(toggleFilter): Return early if inlineFilter is disabled
2018-07-14 11:31:45 +05:30
Faris Ansari
8db22e9db2
Merge pull request #39 from frappe/npm-bundle-size-badge
...
Add npm bundle size badge
2018-07-12 23:30:41 +05:30
Faris Ansari
cc6128b2b6
Add npm bundle size badge
2018-07-12 23:29:20 +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.
v1.1.2
2018-07-10 12:00:41 +05:30
Faris Ansari
f9714673b4
fix(rowmanager): Fire onCheckRow event on checkAll
...
When checkAll is triggered via API or UI input, onCheckRow event fires
Closes #38
v1.1.1
2018-07-09 17:35:59 +05:30
Faris Ansari
78666f8ab2
fix(theme): More CSS variables for themes
...
Add CSS variables for header cell background and toast message border for more flexible themeing
v1.1.0
2018-07-08 23:17:11 +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
2cf2191f0f
fix(treeView): Decrease left padding of tree node cells
v1.0.1
2018-07-08 17:35:16 +05:30
Faris Ansari
9e4d0bb9c8
chore(lint): Add lint step in travis
...
Add lint step in travis, add lint and commit script in package.json. Update Contributing information
in Readme
2018-07-07 23:49:45 +05:30
Faris Ansari
5f25514639
chore(readme): Add semantic release badge
2018-07-07 23:29:37 +05:30
Faris Ansari
9ed446194d
chore(release): Build files before running tests
...
Files should be built before running tests, since Cypress requires those files
v1.0.0
2018-07-07 22:30:15 +05:30
Faris Ansari
48e0034eb1
test: Remove default sort and let test pass
2018-07-07 22:28:29 +05:30
Faris Ansari
47aa83dce8
chore(release): Add semantic release and commitizen
2018-07-07 22:10:15 +05:30
Faris Ansari
d225308151
feat(sort): Apply sortOrder in initialization
2018-07-07 22:07:16 +05:30
Faris Ansari
cab9fff5e6
v0.0.10
2018-07-05 13:25:15 +05:30
Faris Ansari
3a050cdfb6
[fix] Cells with 0 value should be right aligned
2018-07-05 13:23:56 +05:30
Faris Ansari
cd4645e5b3
Cache npm and cache directories, and run test using npm ( #34 )
2018-06-06 23:19:16 +05:30
Faris Ansari
f040f5c584
v0.0.9
2018-06-05 16:09:01 +05:30
Faris Ansari
978682e1df
getEditor ( #33 )
...
* chore
- Add rollup devDependency
- Add tsconfig for cypress intellisense
* getEditor: getValue can now return a Promise that resolves to the value
2018-06-05 15:58:39 +05:30
Faris Ansari
2af2cebf14
Update cypress to 3.0.1
2018-06-03 17:08:46 +05:30
Faris Ansari
2130a46c21
[tests] Edit cell
2018-06-03 17:08:36 +05:30
Faris Ansari
96a9235a12
Update README.md ( #32 )
2018-05-31 00:16:16 +05:30
Faris Ansari
c95fa505dd
Update npm version badge ( #31 )
...
* Update npm version badge
* Update license badge
2018-05-30 15:02:04 +05:30
Faris Ansari
bc3bd3accb
Merge pull request #30 from frappe/shields
...
Add badges
2018-05-30 08:35:44 +05:30
Faris Ansari
291cc101f5
Badges in center
2018-05-30 08:33:33 +05:30
Faris Ansari
fe79d6b2ec
Update badge links
2018-05-30 08:31:01 +05:30
Faris Ansari
11ae5d6be4
formatting
2018-05-30 08:19:27 +05:30
Faris Ansari
2559ae3119
formatting
2018-05-30 08:18:01 +05:30
Faris Ansari
2987fcd302
Add shields
2018-05-30 08:15:53 +05:30