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
c4846178
Commit
c4846178
authored
Oct 22, 2025
by
sawit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perspective
parent
0f7810a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
18 deletions
+17
-18
syncfusion-datagrid-widget.component.ts
...n-datagrid-widget/syncfusion-datagrid-widget.component.ts
+9
-9
syncfusion-pivot-widget.component.html
...usion-pivot-widget/syncfusion-pivot-widget.component.html
+3
-4
syncfusion-pivot-widget.component.ts
...cfusion-pivot-widget/syncfusion-pivot-widget.component.ts
+5
-5
No files found.
src/app/portal-manage/dashboard-management/widgets/syncfusion-datagrid-widget/syncfusion-datagrid-widget.component.ts
View file @
c4846178
...
...
@@ -602,15 +602,15 @@ export class SyncfusionDatagridWidgetComponent extends BaseWidgetComponent imple
onDataBound
(
args
:
any
):
void
{
// Apply perspective after data is loaded and rendered, but only once.
// if (this.perspective && !this.isPerspectiveApplied && this.grid
) {
//
try {
//
setTimeout(() => {
//
this.setWidgetState(this.perspective as string);
//
}, 50); // Small delay to ensure rendering is complete
//
} catch (error) {
//
console.warn('Error applying perspective to grid:', error);
//
}
//
}
if
(
this
.
perspective
&&
!
this
.
isPerspectiveApplied
&&
this
.
grid
&&
this
.
perspective
!==
'{}'
)
{
try
{
setTimeout
(()
=>
{
this
.
setWidgetState
(
this
.
perspective
as
string
);
},
50
);
// Small delay to ensure rendering is complete
}
catch
(
error
)
{
console
.
warn
(
'Error applying perspective to grid:'
,
error
);
}
}
}
onReset
():
void
{
...
...
src/app/portal-manage/dashboard-management/widgets/syncfusion-pivot-widget/syncfusion-pivot-widget.component.html
View file @
c4846178
...
...
@@ -29,9 +29,7 @@
<i
class=
"bi bi-clock"
></i>
<span>
{{ lastUpdated | date:'short' }}
</span>
</div>
</div>
<div
class=
"header-actions"
>
<div
*
ngIf=
"enableExport"
class=
"action-button export-button"
(
click
)="
exportData
($
event
)"
title=
"Export Data"
>
<!-- <div *ngIf="enableExport" class="action-button export-button" (click)="exportData($event)" title="Export Data">
<i class="bi bi-download"></i>
</div>
<div *ngIf="enableRefresh && dataSource !== 'static'" class="action-button refresh-button" (click)="refreshData($event)" title="Refresh Data">
...
...
@@ -39,8 +37,9 @@
</div>
<div *ngIf="enableFiltering" class="action-button filter-button" (click)="toggleFilter($event)" title="Toggle Filter">
<i class="bi bi-funnel"></i>
</div>
</div>
-->
</div>
</div>
<div
*
ngIf=
"dataSource !== 'static'"
class=
"data-source-info"
>
<i
class=
"bi bi-info-circle"
></i>
...
...
src/app/portal-manage/dashboard-management/widgets/syncfusion-pivot-widget/syncfusion-pivot-widget.component.ts
View file @
c4846178
...
...
@@ -469,11 +469,11 @@ export class SyncfusionPivotWidgetComponent extends BaseWidgetComponent implemen
onDataBound
(
args
:
any
):
void
{
// Apply perspective after data is loaded and rendered, but only once.
// if (this.perspective && !this.isPerspectiveApplied
) {
//
setTimeout(() => {
//
this.setWidgetState(this.perspective as string);
//
}, 50); // Small delay to ensure rendering is complete
//
}
if
(
this
.
perspective
&&
!
this
.
isPerspectiveApplied
&&
this
.
perspective
!==
'{}'
)
{
setTimeout
(()
=>
{
this
.
setWidgetState
(
this
.
perspective
as
string
);
},
50
);
// Small delay to ensure rendering is complete
}
}
onReset
():
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