Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
f3665be7
Commit
f3665be7
authored
Sep 08, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config
parent
0f9c0dd2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
widget-config.component.html
...ard-management/widget-config/widget-config.component.html
+11
-0
widget-config.component.ts
...board-management/widget-config/widget-config.component.ts
+2
-0
syncfusion-pivot-widget.component.ts
...cfusion-pivot-widget/syncfusion-pivot-widget.component.ts
+2
-2
No files found.
src/app/portal-manage/dashboard-management/widget-config/widget-config.component.html
View file @
f3665be7
...
...
@@ -289,6 +289,17 @@
</mat-form-field>
<mat-checkbox
[(
ngModel
)]="
currentConfig
.
expandAll
"
name=
"expandAll"
class=
"mb-4"
>
Expand All
</mat-checkbox>
<mat-form-field
appearance=
"fill"
class=
"w-full"
>
<mat-label>
Display As
</mat-label>
<mat-select
[(
ngModel
)]="
currentConfig
.
displayOptionView
"
name=
"displayOptionView"
>
<mat-option
value=
"Both"
>
Both (Grid
&
Chart)
</mat-option>
<mat-option
value=
"Grid"
>
Grid Only
</mat-option>
<mat-option
value=
"Chart"
>
Chart Only
</mat-option>
</mat-select>
</mat-form-field>
<mat-checkbox
[(
ngModel
)]="
currentConfig
.
showToolbar
"
name=
"showToolbar"
class=
"mb-4"
>
Show Toolbar
</mat-checkbox>
<!-- Pivot Rows -->
<div
class=
"config-section border p-3 rounded-lg mb-4"
>
<h3
class=
"text-lg font-semibold mb-2"
>
Rows
</h3>
...
...
src/app/portal-manage/dashboard-management/widget-config/widget-config.component.ts
View file @
f3665be7
...
...
@@ -76,6 +76,8 @@ export class WidgetConfigComponent implements OnInit {
if
(
!
this
.
currentConfig
.
columns
)
this
.
currentConfig
.
columns
=
[];
if
(
!
this
.
currentConfig
.
values
)
this
.
currentConfig
.
values
=
[];
if
(
!
this
.
currentConfig
.
filters
)
this
.
currentConfig
.
filters
=
[];
if
(
!
this
.
currentConfig
.
displayOptionView
)
this
.
currentConfig
.
displayOptionView
=
'Both'
;
if
(
this
.
currentConfig
.
showToolbar
===
undefined
)
this
.
currentConfig
.
showToolbar
=
true
;
}
if
(
this
.
widgetType
===
'ChartWidgetComponent'
&&
!
this
.
currentConfig
.
yFields
)
{
this
.
currentConfig
.
yFields
=
[];
...
...
src/app/portal-manage/widgets/syncfusion-pivot-widget/syncfusion-pivot-widget.component.ts
View file @
f3665be7
...
...
@@ -54,8 +54,8 @@ export class SyncfusionPivotWidgetComponent extends BaseWidgetComponent implemen
this
.
widgetId
=
this
.
config
.
widgetId
;
this
.
widgetStateService
.
registerWidget
(
this
.
widgetId
,
this
);
}
this
.
toolbar
=
[
'Grid'
,
'Chart'
,
'Export'
,
'SubTotal'
,
'GrandTotal'
,
'ConditionalFormatting'
,
'NumberFormatting'
,
'FieldList'
];
this
.
displayOption
=
{
view
:
'Both'
}
as
DisplayOption
;
this
.
toolbar
=
this
.
config
.
showToolbar
!==
false
?
[
'Grid'
,
'Chart'
,
'Export'
,
'SubTotal'
,
'GrandTotal'
,
'ConditionalFormatting'
,
'NumberFormatting'
,
'FieldList'
]
:
[
];
this
.
displayOption
=
{
view
:
this
.
config
.
displayOptionView
||
'Both'
}
as
DisplayOption
;
}
override
ngOnDestroy
():
void
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment