Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Pedro-dev_2
cms
Commits
7d8b3476
Commit
7d8b3476
authored
Apr 25, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
datatable improve
parent
47e589b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.js
src/@core/components/datatable/index.js
+2
-2
tableHeader.js
src/@core/components/datatable/tableHeader.js
+1
-1
No files found.
src/@core/components/datatable/index.js
View file @
7d8b3476
...
@@ -14,7 +14,7 @@ import CustomHeader from './tableHeader'
...
@@ -14,7 +14,7 @@ import CustomHeader from './tableHeader'
// import CustomHeader from './tableHeader'
// import CustomHeader from './tableHeader'
const
DataTableServerSide
=
({
allData
,
total
,
getData
,
serverSideColumns
,
linkAddButton
})
=>
{
const
DataTableServerSide
=
({
cardTitle
,
allData
,
total
,
getData
,
serverSideColumns
,
linkAddButton
})
=>
{
// ** Store Vars
// ** Store Vars
const
dispatch
=
useDispatch
()
const
dispatch
=
useDispatch
()
...
@@ -130,7 +130,7 @@ const DataTableServerSide = ({allData, total, getData, serverSideColumns, linkAd
...
@@ -130,7 +130,7 @@ const DataTableServerSide = ({allData, total, getData, serverSideColumns, linkAd
<
Fragment
>
<
Fragment
>
<
Card
>
<
Card
>
<
CardHeader
className
=
'border-bottom'
>
<
CardHeader
className
=
'border-bottom'
>
<
CardTitle
tag
=
'h4'
>
Projects
<
/CardTitle
>
<
CardTitle
tag
=
'h4'
>
{
cardTitle
}
<
/CardTitle
>
<
/CardHeader
>
<
/CardHeader
>
<
DataTable
<
DataTable
noHeader
noHeader
...
...
src/@core/components/datatable/tableHeader.js
View file @
7d8b3476
...
@@ -46,7 +46,7 @@ const CustomHeader = ({ linkAddButton, handlePerPage, rowsPerPage, handleFilter,
...
@@ -46,7 +46,7 @@ const CustomHeader = ({ linkAddButton, handlePerPage, rowsPerPage, handleFilter,
<
/div
>
<
/div
>
<
Button
.
Ripple
color
=
'primary'
>
<
Button
.
Ripple
color
=
'primary'
>
<
Link
to
=
{
linkAddButton
}
className
=
"btn-primary"
>
<
Link
to
=
{
linkAddButton
}
className
=
"btn-primary"
>
Add
New
Project
Add
New
<
/Link
>
<
/Link
>
<
/Button.Ripple
>
<
/Button.Ripple
>
<
/Col
>
<
/Col
>
...
...
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