Commit Graph

61 Commits

Author SHA1 Message Date
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
c56873aac2 merge feature to master 2023-01-20 15:57:43 +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
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
James Yeung
ef7608283b feat(module: table): allow access field value from CellRender context (#2257) 2022-01-18 10:06:29 +08:00
Andrew Goliyad
bfa12a72f3 feat(module: table): Add Align property for column (#2045)
* feat(module: table): Add Align property

* feat(module: table): Add Align property

* feat(module: table): Add Align property
2021-10-22 15:26:08 +08:00
anranruye
7e14bdfdd2 perf(module: table): improve table selection (#1960) 2021-09-22 22:07:56 +08:00
James Yeung
c0c9d0a265 fix(module: table): label display incorrectly in responsive mode (#1952) 2021-09-17 20:34:14 +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
James Yeung
ee845b906a feat(module: table): add CellData for CellRender (#1907) 2021-09-02 12:34:30 +08:00
anranruye
5cfbb80ddb fix(module: table): fix the format issue of datetime samedate filter (#1889) 2021-08-29 14:18:04 +08: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
552d7c946a fix(module: table): prevent propagation of expand button click events (#1850) 2021-08-18 00:25:33 +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
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
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
16654f5b51 Merge 0.8.4 to feature 2021-07-18 00:04:11 +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
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
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
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
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
ldsenow
7b7ab782c6 feat(module: table): add Hidden for columns (#1410) 2021-04-26 17:35:01 +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
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
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
笨木头
1a86a88002 fix(module: table): clicking outside couldn't close filter panel (#1232) 2021-03-10 20:03:55 +08:00
James Yeung
1aadcecf35 fix(module: table): fix doesn't refresh when expand row (#1199) 2021-03-04 17:30:52 +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
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
cqgis
080d4dda43 feat(module: table): add sort directions and default sort order (#778)
* feat: table  column sort add sortway support singleness or mutiple

* fix: error method name

* add sort directions

* delete useless property

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:52:57 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
fan0217
90e98e5487 feat(module: table): specific the position of the expand button (#1002)
* Table增加属性ExpandIconColumnIndex

* Table增加属性ExpandIconColumnIndex

* 调整Table的ExpandIconColumnIndex属性默认值为0

* 处理Table的Expand展开按钮和Tree展开按钮冲突的问题

* fix icon column index for expand row

* fix style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-21 14:56:20 +08:00
Zonciu Liang
a09a8e6ac3 feat(module: table): add DataIndex support (#999)
* docs: correct parameter name

* feat(module: table): add data index

* refactor(module: table): make DataIndex expression cached

* refactor(module: core): recursive method for PropertyAccessHelper.GetRootParameterExpression

* refactor(module: table): make DataIndex feature clearer

* feat(module: table): support DataIndex format

* fix: sort column style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-20 23:35:57 +08:00
James Yeung
d266f77346 fix(module: table): exception if field is null (#965) 2021-01-11 22:36:06 +08:00
James Yeung
1a2866cf9d feat(module: table): add ellipsis column (#957) 2021-01-10 21:44:25 +08:00
James Yeung
43664736f7 feat(module: table): fixed header & columns (#954)
* feat(module: table): support fixed header & columns

* fix layout of the fixed columns & header

* fix scrollbar hidding

* header and body sync scroll

* fix column width calc

* fix demo pagesize

* fix docs
2021-01-09 23:57:31 +08:00
fan0217
b8a6062f6f fix(module: table): add header style and fix the table size (#909)
* rename to header style

* fix selection and action

* delete  useless style

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-23 00:47:35 +08:00