Manuele Lucchi
20b825d881
feat(module: table): Added FilterTemplate ( #3285 )
...
* Added FilterTemplate and EN documentation
* Decommented NavMenu
* Revert "Added FilterTemplate and EN documentation"
This reverts commit e5d53a0047e62803b147f0b733da101b0abb5bdd.
* Updated code to respect review requests
* uncommented some code pieces to make it build
* refactor default filter dropdown
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2023-08-18 00:21:43 +08:00
James Yeung
055f814626
fix(module: table): avoid exception at DisposeAsync method ( #3337 )
2023-07-02 21:29:54 +08:00
James Yeung
da7e494799
feat(module: table): the items of DataSource support interface types ( #3297 )
...
* feat(module: table): DataSource support interface type
* update a demo
* update doc
* update doc
2023-06-11 23:40:06 +08:00
James Yeung
4e7977f7ad
fix(module: table): text would overflow at the column which is fixed and ellipsis ( #3291 )
...
* fix(module: table): text would overflow at the column which is fixed and ellipsis
* add IsFiexedEllipsis property
2023-06-08 23:30:05 +08:00
James Yeung
1f9c539578
fix(module: table): empty status position incorrectly during pre-rendering stage, and avoid unnecessary use of ResizeObserver ( #3281 )
2023-06-04 14:22:54 +08:00
James Yeung
4fcfc026e8
feat(module: table): add EF Core support for Virtualization ItemsProvider ( #3270 )
2023-05-20 01:15:29 +08:00
James Yeung
84ffd9bbfe
fix(module: table): revert min-height for scroll y ( #3269 )
...
* fix(module: table): revert min-height for scroll y
* fix table min-height
2023-05-19 23:58:24 +08:00
James Yeung
4c927d683e
fix(module: table): empty and row height issue when ScrollY was set ( #3265 )
2023-05-17 23:37:11 +08:00
James Yeung
26bd778305
feat(module: table): add support ItemsProvider
for Virtualization ( #3262 )
...
* feat(module: table): add support `ItemsProvider` for Virtualization
* fix initial load and empty status
2023-05-17 00:21:56 +08:00
Luuk Glorie
954562f965
fix(module: table): fix not logging exception and ignore JSDisconnectedException ( #3216 )
...
Thrown exception was not logged because LogError overload was used incorrectly. When calling JS while disposing a component a JSDisconnectedException could be thrown, which should be ignored.
Closes #3215
2023-04-16 15:49:11 +08:00
James Yeung
8db4f8b2a4
fix(module: table): the filter of column with the flags enum type place incorrectly ( #3168 )
2023-03-10 16:50:15 +08:00
James Yeung
26b84abe87
fix(module: table): pagination position in RTL language ( #3086 )
2023-02-10 18:26:27 +08:00
wss-javeney
71fdff3309
fix(module: table): pagesize can't update once the datasource is changed while HidePagination is enabled ( #3052 )
...
* fix(module: table): when HidePagination = true, update PageSize when DataSource changes
* Revert unnecessary change
2023-02-01 00:14:19 +08:00
James Yeung
c56873aac2
merge feature to master
2023-01-20 15:57:43 +08:00
James Yeung
789d315ad7
feat(module: table): add empty template parameter and make it fixed while column scrolling ( #3031 )
...
* feat(module: table): add empty template parameter and make it fixed while column scrolling
* fix build
2023-01-19 18:11:49 +08:00
James Yeung
bdc89cad9d
fix(module: table): avoid null reference exception throw in Selection dispose ( #3028 )
2023-01-19 12:03:34 +08:00
James Yeung
c35cd30f37
fix(module: table): column title align incorrectly when filterable ( #3023 )
2023-01-18 11:02:19 +08:00
James Yeung
27e61057d3
feat(module: table): supports automatic column generation based on the TItem
type. ( #2978 )
2023-01-05 15:47:52 +08:00
James Yeung
643c6de31e
feat(module: table): support for header grouping and row template ( #2973 )
...
* feat(module:table): header template and item template
* add demos
* fix merge conflict
* rename some api
Co-authored-by: anranruye <hehewewe@hotmail.com>
2023-01-02 20:35:03 +08:00
berkerdong
d467f3a543
fix(module: table): Table Selection Component Hidden Property not working ( #2945 )
2022-12-16 16:23:19 +08:00
James Yeung
dedce443a4
fix(module: table): Hidden
parameter for ActionColumn doesn't work ( #2946 )
2022-12-15 16:19:31 +08:00
berkerdong
b29ad76142
fix(module: table): IQueryable or IEnumerable with AsNoTracking()
will cause select data duplication bug ( #2944 )
...
* fix 2921 Fix IQueryable or IEnumerable using AsNoTracking will cause select data duplication bug
* Optimize ToList action after pagination
2022-12-14 22:40:16 +08:00
James Yeung
59db656a16
fix(module: table): can't restore the query state of filters which value is enum type ( #2941 )
2022-12-11 23:06:35 +08:00
James Yeung
e9382b8f05
fix(module: table): Infinite loop when HidePagination
and PageSize
were set at the same time and datasource is empty. ( #2919 )
2022-11-30 12:14:56 +08:00
James Yeung
5ac823dd17
fix(module: table): infinite loop with settingHidePagination
and PageSize
at the same time ( #2905 )
2022-11-28 12:08:56 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 ( #2877 )
2022-11-24 23:11:02 +08:00
James Yeung
e4834ed1da
add target to .NET 7 ( #2810 )
...
* docs: update .NET7 RC2
* fix target framework
* update to .net 7 GA
* update yaml
* fix wasmhost
* update document
2022-11-10 16:00:11 +08:00
CareyYang
97fcd5bfb7
fix(module: table): when HidePagination
is true, PageSize is implicitly the total number of rows for the data source ( #2476 )
...
* Change set HidePagination‘s Location
Change set PageSize Method when HidePagination is true.
if HidePagination is true,set PagSize value is DataSource Count
if HidePagination is true,set PagSize value is DataSource Count
if HidePagination is true,set PagSize value is DataSource Count
* refactor
* update demo
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-11-08 12:56:05 +08:00
James Yeung
609f14b2dc
fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale ( #2855 )
...
* fix(module: datepicker): wrong day order and fallback to use globalization libaray when there is no day locale
* fix date locale
* refactor the scroll method
* fix ShortestDayNames
* update the doc
2022-11-04 13:46:24 +08:00
LeaFrock
9dcfb2898d
test(module: core): Add unit tests ( #2821 )
...
* Add tests for `StyleHelperTests`&`EnumHelperTests`
* Add tests for `ClassMapper`
* Add tests for `MomentHelper`
* Code style fixes for `JsonElementHelper`
* Code style fixes for `THelper`
* Roll back some break changes
2022-10-21 13:01:25 +08:00
Kyojuro27
1d3cc9cd25
fix(module: table): exception was thrown in DisposeAsync after blazor server disconnect ( #2797 )
...
* Update Table.razor.cs
In DisposeAsync() Method of Tab.razor.cs, I add a try - catch around the JSInterop call method "await JsInvokeAsync(JSInteropConstants.UnbindTableScroll, _tableBodyRef);" in order to prevent some error and warning entry in the Windows Event Viewer.
* fix exception catch
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-10-20 13:54:28 +08:00
LeaFrock
0de1573011
perf: Optimize CssSizeLength
& CssStyleBuilder
( #2803 )
...
* Optimize `CssStyleBuilder`
* Optimize `CssSizeLength`
* Fix unit error
* Add a test case
* Improve the test cover
* Improve a test
2022-10-18 13:30:37 +08:00
YongQuan
0988bfc4e8
feat(module: table): set header checkbox Disabled while all the selection are disabled ( #2737 )
2022-09-24 13:13:07 +08:00
YongQuan
e9a7d0225c
fix(module: table): selection method typo ( #2735 )
2022-09-22 11:51:40 +08:00
YongQuan
298c7de532
fix(module: table): rectify how to check if an IQueryable is IOrderedQueryable ( #2710 )
2022-09-14 20:58:11 +08:00
YongQuan
04024d3aef
fix(module: table): multiple sort for ef core ( #2701 )
2022-09-12 19:09:03 +08:00
YongQuan
5294f5c4b8
fix(module: table): converting IQueryable to IOrderedQueryable returned null ( #2687 )
2022-09-07 13:44:01 +08:00
James Yeung
08f1ba4cb9
fix(module: table): exception cause by reload data with state and the table has an ActionColumn ( #2683 )
2022-09-06 20:50:10 +08:00
James Yeung
1461f50d9c
feat(module: table): add property column ( #2624 )
...
* add property column
* fix property
* remove exception
* update demos
2022-08-20 13:54:47 +08:00
James Yeung
1659aef02d
chore: sync ant-design v4.20.7 ( #2497 )
...
* chore: sync ant-design v4.20.7
* fix style build
* clean the style
* fix dropdown overlay
* remove cdk styles
* fix dropdown overwrite styles
* fix doc styles
2022-06-04 00:44:34 +08:00
James Yeung
212bdef3ef
feat(module: table): support setting table scrollbar width using ScrollBarWidth
parameter ( #2451 )
2022-05-29 19:34:52 +08:00
James Yeung
1396932d50
refactor(module: table): make Responsive default to false (with a breaking change) ( #2419 )
...
* feat(module: table): make `Responsive` default to false (a breaking change)
* fix demo
2022-05-29 19:34:49 +08:00
James Yeung
679474ad30
fix(module: table): duplicated cell render cause by branch merge ( #2326 )
2022-05-29 19:34:47 +08:00
AnaNikolasevic
21a076dff5
feat(module: table): enable to reload with an outside query model ( #2129 )
...
* feat/ApplyPredefinedQueryModel: add opportunity to serialize/deserialize QueryModel and apply to Table with ITable.ReloadData(QueryModel queryModel) method; fix current selected value in 'PageSize / page' selection (value was not updated in case using ReloadData(PageIndex, PageSize) method)
* feat/applyPredefinedQueryModel: implement System.Text.Json instead Newtonsoft.Json for serializing/deserializing QueryModel
* feat/applyPredefinedQueryModel: add minor change
* feat/applyPredefinedQueryModel: add method for converting from JsonElement to object type
* feat/applyPredefinedQueryModel: add demo file for save and load table configuration
* feature/applyPredefinedQueryModel: add minor change
* feat/applyPredefinedQueryModel: prevent applying before not saved configuration
* fix sorter restore
* reest data before reload data
* fix test
Co-authored-by: Ana Nikolasevic <23nikolasevic@gmail.com>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2022-05-29 19:34:46 +08:00
ElderJames
ab939b927f
merge 0.10.4 to feature
2022-05-28 13:41:01 +08:00
Hao Sun
c9d287e5fd
feat(module: table): use small size Pagination for compacted table, add PaginationSize enum type ( #2246 )
...
* feat(module:table&pagination): use small size Pagination for compacted table, add PaginationSize enum type
* change TableSize to primitive enum type
2022-05-28 13:41:01 +08:00
Hao Sun
78b10019e4
feat(module: table): add table virtualization ( #2143 )
...
* feat(module:table): virtualizing
* turn off virtualizing by default
* add document and demo
* NET_6_0 => NET6_0
* update table selection
* update Table.razor.cs
* update table files
* Update table files
* update table files
* update table files
* update table files
* update table files
* update table files
* update table files
* update Virtualizing.razor
* Update AntDesign.csproj
* Update TableRow.razor
* update files
* Update AntDesign.csproj
* update table files
* update Virtualizing.razor
* add DefaultExpandMaxLevel
* rename Virtualizing to EnableVirtualization
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-05-28 13:41:01 +08:00
Hao Sun
ce1261e24f
feat(module: table): improve pagination template ( #2220 )
2022-05-28 13:41:01 +08:00
James Yeung
5af937483a
fix(module: table): too length content in responsive mode will brace up the table ( #2470 )
2022-05-22 23:08:21 +08:00
James Yeung
d739167f94
fix(module: table): null exception cause by event listener ( #2448 )
2022-05-15 12:45:43 +08:00