Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
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
mySkill-x
Commits
670180e4
Commit
670180e4
authored
Apr 11, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ทะเบียนพนักงาน
parent
75c45679
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
185 deletions
+75
-185
sub-employee-registration.component.html
...yee-registration/sub-employee-registration.component.html
+18
-108
sub-employee-registration.component.ts
...loyee-registration/sub-employee-registration.component.ts
+53
-75
datagrid-syncfution.component.ts
...ents/datagrid-syncfution/datagrid-syncfution.component.ts
+4
-2
No files found.
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.html
View file @
670180e4
This diff is collapsed.
Click to expand it.
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.ts
View file @
670180e4
This diff is collapsed.
Click to expand it.
src/app/components/datagrid-syncfution/datagrid-syncfution.component.ts
View file @
670180e4
...
@@ -221,8 +221,10 @@ export class DatagridSyncfutionComponent implements OnInit {
...
@@ -221,8 +221,10 @@ export class DatagridSyncfutionComponent implements OnInit {
}
}
filterData
(
text
:
string
,
fields
:
string
[]):
any
[]
{
filterData
(
text
:
string
,
fields
:
string
[]):
any
[]
{
return
this
.
dataSource
.
filter
(
item
=>
{
return
this
.
dataSource
.
filter
(
item
=>
{
return
fields
.
some
(
field
=>
return
fields
.
some
(
field
=>
{
item
[
field
]?.
toString
().
toLowerCase
().
includes
(
text
.
toLowerCase
())
const
value
=
field
.
split
(
'.'
).
reduce
((
obj
,
key
)
=>
obj
?.[
key
],
item
);
return
value
?.
toString
().
toLowerCase
().
includes
(
text
.
toLowerCase
());
}
);
);
});
});
}
}
...
...
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