James Yeung
bc284d025e
fix(module: table): tree data sort & filter ( #1966 )
...
* fix(module: table): tree data sort & filter
* fix code block indent
2021-09-23 09:22:37 +08:00
anranruye
7e14bdfdd2
perf(module: table): improve table selection ( #1960 )
2021-09-22 22:07:56 +08:00
James Yeung
105d40ba25
fix(module: table): incorrectly render on first loading ( #1957 )
2021-09-18 07:48:11 +08:00
James Yeung
c0c9d0a265
fix(module: table): label display incorrectly in responsive mode ( #1952 )
2021-09-17 20:34:14 +08:00
anranruye
915d35a513
Merge 0.9.4 to feature
2021-09-14 21:57:15 +08:00
James Yeung
9a1e6a8264
fix(module: table): It would be load twice at first time if pagesize is not 10 ( #1933 )
2021-09-11 14:04:03 +08:00
Andrzej Bakun
3d4f7adaaf
perf(module: overlay): positioning moved to js ( #1848 )
...
* fix(module:overlay): move postion calculation to js
fixes #1836
* docs: TriggerBoundaryAdjustMode explanation
* docs: select & datepicker got BoundaryAdjustmetMode
cleanup
* test: fixes
optimization & cleanup
* fix(module:overlay): recalculate overlay position when trigger resizes
* Minor clean-up
* fix(module:overlay): wait for Show to finish in Hide
* fix: prevent vertical scrollbar on overlay adding
* fix: extract waiting function
* fix: overlay not to repostion when trigger vanishes (menu issue)
* fix: scroll adjustment for position: fixed
* fix: on menu mode change, keep
* merge conflict fix
* fix: nominal calculation reset on failed adjustment
* fix: bugs
* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
Tony Yip
4b04f09832
perf: avoid memory leak issue of event listener ( #1857 )
...
* perf: avoid memory leak #1834
Avoid memory leak by remove the exclusive parameter and logic in the code block on AddEventListener method in DomEventService class.
The following are the components affected:
components/affix/Affix.razor.cs
components/anchor/Anchor.razor.cs
components/carousel/Carousel.razor.cs
components/core/Component/Overlay/Overlay.razor.cs
components/core/Component/Overlay/OverlayTrigger.razor.cs
components/core/JsInterop/DomEventService.cs
components/descriptions/Descriptions.razor.cs
components/dropdown/DropdownButton.cs
components/grid/Row.razor.cs
components/input/Input.cs
components/input/TextArea.razor.cs
components/layout/Sider.razor.cs
components/list/ListItem.razor.cs
components/select/Select.razor.cs
components/select/internal/SelectContent.razor.cs
components/slider/Slider.razor.cs
components/table/Table.razor.cs
components/tabs/Tabs.razor.cs
* fix override AddEventListener method in AntDesign.TestKit project
* add register/remove event listerner for exclusive use in DomEventService class
* move _dotNetObjects to DomEventListerner class/service, so that users not required to maintain it in each component.
* * move share/reuse dom event listerner methods to DomEventListerner class
* remove method 'AddEventListener' that no longer exists in DomEventService class in AntDesign.TestKit project
* * change the component referring to an IDomEventListerner interface instead of a concrete class,
so that the component can be tested via a mock TestDomEventListerner.
* introduce DisposeShared and Dispose method in DomEventListerner to ease user remove callback from DomEventListerner
* register IDomEventListerner into DI container instead of create manually
* fix FormatKey
* fix FormatKey
* fix tests
* fix test
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-09 12:56:11 +08:00
James Yeung
ee845b906a
feat(module: table): add CellData
for CellRender
( #1907 )
2021-09-02 12:34:30 +08:00
James Yeung
7556db9de8
pref(module: table): put fixed column style into js ( #1897 )
...
* pref(module: table): put fixed column style into js
* fix resize listene
2021-09-01 00:13:19 +08:00
James Yeung
3a6902a2c9
merge 0.9.3 to feature
2021-08-29 15:32:27 +08:00
anranruye
5cfbb80ddb
fix(module: table): fix the format issue of datetime samedate filter ( #1889 )
2021-08-29 14:18:04 +08:00
James Yeung
fb1c1fc1a6
fix(module: table): not automatically load with ActionColumn ( #1883 )
...
Fixed an issue where a table would not automatically load after initialization when an ActionColumn was used.
2021-08-28 14:10:39 +08:00
Nikolay Krondev
656d31237e
fix(module: table): call StateHasChanged
in InternalReload
( #1874 ) ( #1875 )
2021-08-28 03:59:11 +00:00
SmallY
f17797d14d
fix(module: table): ignore milliseconds when applying the datetime filter ( #1864 )
...
* remove milliseconds when filtering
* remove the milliseconds when set the datetime filter value
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-24 15:43:00 +00:00
SmallY
7a1ae1a285
feat(module: table): add TheSameDateWith condition operator for DateTime column ( #1856 )
...
* use date in datetime filter
* fix spelling errors
* Restore changes and add Date and Month FilterCompareOperator
* hide time when filter date or month
* Remove the month FilterCompareOperator
* add locale data
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-22 23:03:47 +08:00
James Yeung
f89dfa23c0
fix(module: table): didn't refresh when using client side data source ( #1858 )
2021-08-22 22:35:42 +08:00
James Yeung
fa99d6e8fa
fix(module: table): avoid OnChange
being called multiple times during initialization ( #1855 )
...
* fix(module: table): avoid OnChange being called multiple times during initialisation
* fix indent
2021-08-21 01:34:25 +08:00
James Yeung
552d7c946a
fix(module: table): prevent propagation of expand button click events ( #1850 )
2021-08-18 00:25:33 +08:00
James Yeung
dc3ae6d1dc
fix(module: table): fix initial load and render ( #1835 )
...
* fix(module: table): fix initial load and render
* delete the useless method
2021-08-13 17:49:16 +08:00
ElderJames
71c53e1c9f
merge 0.9.1 to feature
2021-08-13 17:22:52 +08:00
anranruye
95fe33e681
fix(module: table): missing showTime
of built-in datetime filter ( #1827 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-09 15:51:13 +00:00
anranruye
6fe013eb32
fix(module: table): use "or" filter condition for List type built-in filter ( #1804 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-08 17:59:45 +08:00
James Yeung
bd1250b8fe
fix(module: table): missing sorter model on first change ( #1823 )
2021-08-08 00:39:48 +08:00
James Yeung
54ef39f82b
feat(model: table): support responsive ( #1802 )
2021-08-01 21:18:50 +08:00
anranruye
f47d986f2a
fix(module: table): fix cascading table in column ( #1732 )
...
* fix(module: table): fix cascading tables
* Update Column.razor
* Update Column,razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-30 16:12:22 +00:00
James Yeung
077f857cc0
chore: sync ant-design v4.16.9 ( #1782 )
2021-07-27 23:44:51 +08:00
anranruye
b5afba7e56
refactor(module: table): use EnumSelect for table filter ( #1777 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-27 13:43:23 +08:00
anranruye
4c674d7b3a
feat(module: table): add guid built-in filter ( #1756 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-26 19:29:32 +08:00
anranruye
a344daf6f6
refactor(module: table): remove the breaking change for pagination mode ( #1754 )
2021-07-20 17:27:14 +00:00
anranruye
16654f5b51
Merge 0.8.4 to feature
2021-07-18 00:04:11 +08:00
anranruye
e4e1289529
fix(module: locale-provider): add missing nodes default values ( #1710 )
2021-07-06 01:10:16 +08:00
Henrik Widlund
56fb02c6f9
feat(module: table): support expanding all items in table ( #1695 )
...
Add the ability to have all items in a table by setting DefaultExpandAllRows to true.
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-02 13:45:24 +08:00
anranruye
82739e9417
fix(module: table): add PopupContainerSelector for filter and/or selector ( #1687 )
...
* fix(module:table): add PopupContainerSelector for filter and/or selector
* Update Column.raz
2021-06-30 15:04:11 +08:00
anranruye
1ec582bff3
fix(module: space): fix space items behavior when they are inside if
block ( #1684 )
...
* fix(module:space): fix space item margin
* remove Index parameter
* remove additional using
* Update Customize.razor space demo
* Update SpaceItem.raz
2021-06-30 13:41:38 +08:00
anranruye
6cb660320a
fix(module: table): allow set filters after table initialization ( #1667 )
...
* fix(module:table): allow set filters after table initialization
* Update Column.razor.cs
2021-06-28 14:19:33 +08:00
anranruye
b8658549e6
Merge 0.8.2 to feature
2021-06-18 16:09:13 +08:00
anranruye
3117e72344
fix(module: table): fix selection clear ( #1632 )
...
* fix(module:table): fix selection issues
* allow SetSeletion(null) when there is not a Selection column
* allow change selection by setting RowDate.Selected
2021-06-15 18:22:07 +08:00
anranruye
6cd8482292
fix(module: table): add RemoteDataSource ( #1558 )
...
* feat(module:table): add PaginationMode parameter
* fix(module:table): fix pagination
* docs(module:table): add doc for PaginationMode attribute
* add a demo file
* docs(module:table): add demo for pagination mode
* feat(module:table): add RemoteDataSource property
* delete the demo for PaginationMode
* Update Table.razor.cs
* add `ajax` demo
* Update ajax.md
* Update Ajax.razor
* fix demo
* clear demo
* fotmat demo
* delete StateHasChanged
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-06-15 16:13:06 +08:00
anranruye
dc02db39da
fix(module: table): fix wrong compare operator, remove input components for unary filter operators ( #1596 )
...
* fix(module:table): fix wrong compare operator
* remove whitespace
* fix(module:table): remove input component for 'is null' and 'is not null' table filter
* Update Column.razor
* fix(module:table): allow remove first filter
* remove whitespace
* Update Column.razor
* Update Column.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-09 16:14:41 +08:00
anranruye
8157f61e84
refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type ( #1608 )
2021-06-08 16:51:30 +08:00
anranruye
0577db8a5c
fix(module: table): fix filter not applied ( #1594 )
2021-06-08 00:04:12 +08:00
anranruye
840184fd51
fix(module: table): fix filter icon wrong highlight, fix filter behavior when there is no input value ( #1592 )
...
* fix(module:table): fix filter icon wrong highlight
* Update Column.razor
* fix(module:table): fix filter for no input
2021-06-07 23:47:03 +08:00
anranruye
fca845ab00
fix(module: table): fix can not close filter by confirm button ( #1602 )
2021-06-05 23:51:29 +08:00
anranruye
ce55fc0f1d
refactor(module: table): optimize render fragments ( #1597 )
2021-06-05 23:35:04 +08:00
anranruye
477c57f9db
feat(module: table): filter enhancement ( #1563 )
...
* feat(module: table): allow access to filter operator and condition
* feat(module: table): allow access to filter operator and condition
* feat(module:table): allow remove the first filter
* Update Column.razor
* feat(module:table): modify closing button position
* feat(module:table): match new style
* feat(module:table): add header column divider
* fix(module:table): apply filter when close the filter panel by clicking the filter icon
* Update Column.razor
* style(module:table): trim Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* fix(module:overlaytrigger): fix overlay not close after overlay size changes
* unify muiltiple filter popup containers to one
2021-06-03 18:54:41 +08:00
James Yeung
c181916dea
chore: sync ant-design v4.16.0 ( #1569 )
2021-05-25 10:01:53 +08:00
James Yeung
bfb5e4f396
merge 0.8.1 to feature
2021-05-16 19:58:03 +08:00
anranruye
c92b9566f1
fix(module: table): fix built-in filter select option width ( #1500 )
2021-05-11 14:15:35 +08:00
Zonciu Liang
d77da6c003
fix(module: table): set DisplayName to null if MemberExpression is not found in the DataIndex expression tree ( #1488 )
2021-05-08 13:03:07 +08:00
anranruye
aa3114f643
feat(module: table): add built-in filter for enum types, support null value for List filter type ( #1439 )
...
* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type
* feat(module:table): throw an exception for composable enum types when use built-in filter
* Revert "feat(module:table): throw an exception for composable enum types when use built-in filter"
This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46.
* feat(module:table): add support for null value localization
* docs(module: table): update for enum build-in filter
* feat(module:table): add built-in filter for composable enum types
* docs(module: table): update for enum built-in filter
* feat(module: table): add enum built-in filter
* feat: add static constructor to EnumHelper
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
2021-05-08 13:00:52 +08:00
Zonciu Liang
d98b402b10
fix(module: table): exception is thrown when the DataIndex ends with the get_Item method. ( #1485 )
2021-05-08 01:47:41 +08:00
anranruye
20c4926615
fix(module: table): fix spell mistake for TableFilterType.FieldType ( #1442 )
...
* style(module:table): fix spell mistake for TableFilterType.FieldType
* style(module:table): fix spell mistake for TableFilterType.FieldType
2021-05-01 03:40:05 +08:00
anranruye
202220dcd7
fix(module: table): fix wrong spell for TableFilterCompareOperator.EndsWith ( #1434 )
...
* fix(module: table): remove an redundant whitespace
* fix(module: table): fix wrong spell
* fix(module: table): fix wrong spell
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 15:14:21 +00:00
James Yeung
bcb9effc75
fix(module: table): check null in set sorter method ( #1423 )
2021-04-27 16:37:19 +08:00
ldsenow
7b7ab782c6
feat(module: table): add Hidden for columns ( #1410 )
2021-04-26 17:35:01 +08:00
ldsenow
64979aef3c
feat(module: table): add pagination template ( #1409 )
2021-04-25 14:09:24 +08:00
Zonciu Liang
d0e40fbdfd
refactor: replace PropertyAccessHelper to PathHelper ( #1386 )
...
* feat(module: core): add member path helper
* refactor(module: table): replace PropertyAccessHelper to PathHelper
* docs: replace path-based-property-access to member-path-helper
* refactor(module: select): replace SelectItemPropertyHelper to PathHelpe
2021-04-24 13:07:27 +08:00
anranruye
3abec5f4ba
fix(module: table): column header sorter not refresh after ClearSorter is called ( #1385 )
...
* fix(module:table): column header sorter not refresh after ClearSorter is called
* add judgment condition for calling StateHasChanged in IFieldColumn.ClearSorter()
2021-04-19 15:07:36 +08:00
anranruye
fb3d5b8d5b
fix(module: table): can not use DataIndex nullable mode with not nullable property ( #1382 )
2021-04-18 20:53:57 +08:00
Zonciu Liang
4a680e6b76
fix(module: table): Unify FieldName, add DisplayAttribute for DiplayName, fix Filter for DataIndex ( #1372 )
...
* fix(module: table): Unify FieldName value
* fix(module: table): Get column name from DisplayAttribute
* fix(module: table): Filter for DataIndex
* docs(module: table): Intuitive sorterCompare for Filter demo
* fix(module: table): fix header title doesn't display when Sortable is false
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-17 16:27:52 +00:00
James Yeung
d4cbc6d4e0
feat: add element component ( #1378 )
...
* refactor: rename `HtmlElement` property case
* rename the directory name for overlay
* add element component
2021-04-17 22:14:01 +08:00
James Yeung
fe0be94b55
fix(module: table): ellipsis can't work ( #1376 )
2021-04-17 18:52:15 +08:00
James Yeung
4292201125
fix(module: table): incorrect bool filter ( #1361 )
2021-04-16 09:18:57 +08:00
Andrzej Bakun
b2a729af82
fix(module: table): locale fix ( #1356 )
2021-04-16 00:08:28 +08:00
ElderJames
433d376739
merge master into feature
2021-04-15 12:55:36 +08:00
Andrzej Bakun
941f58cc65
fix(module: table): Table tree children limit remove ( #1345 )
2021-04-14 10:45:45 +08:00
YMohd
9ff708eb31
feat(module: table): add build-in filters ( #1267 )
...
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* fix demo and docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-11 01:11:19 +08:00
Andrzej Bakun
7b5b08c95b
fix(module: table): bring PR1208 to PR1303 merge master into feature ( #1326 )
2021-04-09 00:49:20 +08:00
ElderJames
aaff88adf7
merge master into feature
2021-04-08 22:32:48 +08:00
Zonciu Liang
8476eccd30
fix(module: table): fix table re-render when ScrollX is set ( #1311 )
2021-04-04 21:02:47 +08:00
Andrzej Bakun
a9a0f2e937
fix(module: table): perf optimization & data source change issue ( #1304 )
...
* chore: add GitHub Actions for auto preview (#1205 )
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205 )
* fix(module:table): guard against false entries in _dataSourceCache
* fix(module:table): perf - double to single render on datasource change
* fix(module:table): perf optimization to avoid multiple renders
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 18:40:23 +00:00
Zonciu Liang
3bf616b735
fix(module: table): fix DataIndex Column with incorrect sorting and filter ( #1295 )
...
* refactor(module: table): Unify the behavior of Field and DataIndex
* fix(module: table): Fix DataIndex Column doesn't refresh
* doc(module: table): add DataIndex column filter demo
* doc(module: table): fix Blazor table
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 15:54:56 +00:00
Magehernan
71f49c5c15
fix(module: table): ExpandableRow not working with ActionColumn #1284 ( #1285 )
...
* (fix) Table ExpandableRow not working with ActionColumn #1284
* Add Tree Button Expand on Action Columm.
Check the position of Selection Column when calculate the position for expand button on tree mode and expand mode.
2021-04-01 12:50:30 +08:00
James Yeung
469bbc511b
chore: sync ant-design v4.14.0 ( #1249 )
2021-03-31 19:23:29 +08:00
James Yeung
d2e9c4b247
feat(module: config-provider): support RTL ( #1238 )
...
* feat(module: config-provider): support RTL
* add rtl for each component
* fix rtl for pagination
* add rtl for overlay
2021-03-31 19:23:26 +08:00
Zonciu Liang
d7ce701daa
refactor(module: pagination): cover the apis of react ( #1220 )
2021-03-31 19:03:00 +08:00
James Yeung
1181673273
feat(module: table): add summary ( #1218 )
...
* feat(module: table): add summary row
* feat: add fixed summary cell
2021-03-31 19:02:57 +08:00
Andrzej Bakun
d1f1227a4f
feat(module: table): add OnExpand event ( #1208 )
2021-03-31 19:02:55 +08:00
James Yeung
16f56f7e9d
feat(module: table): add a method to get query model ( #1202 )
2021-03-31 19:02:52 +08:00
笨木头
1a86a88002
fix(module: table): clicking outside couldn't close filter panel ( #1232 )
2021-03-10 20:03:55 +08:00
James Yeung
853eef8244
fix(module: table): invoke OnChange twice on pagination was changed ( #1211 )
...
* fix(module: table): invoke OnChange twice on pagination was changed
* fix preview ci
2021-03-06 10:20:41 +08:00
James Yeung
ad99e38fce
fix(module: table): bring OnRowClick back ( #1200 )
2021-03-04 17:31:48 +08:00
James Yeung
1aadcecf35
fix(module: table): fix doesn't refresh when expand row ( #1199 )
2021-03-04 17:30:52 +08:00
James Yeung
b65c11ae61
fix(module: table): tree data error ( #1188 )
2021-03-02 00:46:03 +08:00
qinhuaihe
cc4a7bbf13
feat(module: table): add on row and cell ( #1175 )
...
* fix(module:table): set selectedRows exception
* fix(module:table): set selectedRows exception
* fix(module: tree) selected highlight confusion
* Revert "fix(module: tree) selected highlight confusion"
This reverts commit 91300ac664f8dcebc20f1a96e21f8afc1fac079d.
* fix(module: tree): remove the IsFixed attribute
* feat(module: table): add table onrow method
* feat(module: table) add onrow method to table column
* feat(module: table) add onrow method to table column
* feat(module: table) add onheaderrow and onheadercell methods to table
* feat(module: table) fix doc encoding
* fix demo
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-01 23:47:16 +08:00
James Yeung
a49da1ffed
chore: sync ant-design v4.13.0 ( #1181 )
2021-02-28 22:41:28 +08:00
James Yeung
28ffc2d184
fix(module: table): show empty status when there are no data ( #1180 )
2021-02-28 12:51:36 +08:00
James Yeung
4065869806
feat(module: table): add filters ( #1178 )
...
* feat: add table filter
* add filter buttons
* fix filter menu
* make filter work
* support multiple filters
* delete the old files
* support single select
2021-02-27 23:55:48 +08:00
James Yeung
0c13eb7198
docs(module: table): add editable cell/row demo ( #1152 )
...
* feat(module: table): add editable cell demo
* add editable row de
2021-02-22 11:29:56 +08:00
zmayor
b8522e27de
fix(module: table): set selectedRows exception ( #1148 )
...
* fix(module:table): set selectedRows exception
* fix(module:table): set selectedRows exception
2021-02-20 17:50:27 +08:00
James Yeung
597133363a
fix(module: table): support more generic units for scroll x/y ( #1137 )
2021-02-14 20:15:53 +08:00
James Yeung
af300c6ecc
fix(module: table): missing value for the sort property of SortModel ( #1105 )
2021-02-06 00:55:46 +08:00
James Yeung
82031e0a66
fix(module: table): fix the scroll position calc method ( #1063 )
2021-02-01 23:42:54 +08:00
Kane
a84382f64b
fix(module: table): sorter was blocked ( #1061 )
2021-02-01 23:17:54 +08:00
Zonciu Liang
ea412b24ec
feat(core): access object's property by path-based string ( #1056 )
...
* fix: DataIndex access maybe null object
* feat: access object's property by path-based string
* doc: update Table DataIndex demo
* doc: correct Table/demo/custom-row-style.md file encoding
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-31 01:25:25 +08:00
James Yeung
50cb65956a
fix(module: table): mistaken sortable ( #1058 )
2021-01-30 22:21:26 +08:00
Andrzej Bakun
e7b01d509c
fix(module: table): table exception on refresh ( #1040 )
...
* fix(module:overlay): remove obsolete js call
check for Ref.Id before any js operation on it
* fix(module:table): js interop exceptions on dispose
* docs(module:slider): typo fix
* docs(module:spider): typ
2021-01-25 12:53:19 +08:00
James Yeung
d65ffabdc7
chore: sync ant-design v4.11.1 ( #1039 )
2021-01-25 08:31:53 +08:00
matt
e40f93127d
feat(module: table): add RowClassName ( #1031 )
...
* feat(module: table): add row styling
* docs: add RowClassName to docs
* docs: add custom row style subtext
* feat(module: table): add ExpandedRowClassName
* remove RowClassName for expand row
* add chinese doc
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:56:27 +08:00