Kaynağa Gözat

edit table keys = false

andi 3 yıl önce
ebeveyn
işleme
1051c616a1

+ 2 - 2
components/Banding/TableSanksi.js

@@ -7,8 +7,8 @@ function TableSanksi({ listData, to, linkName }) {
 	return (
 		<div className="card b">
 			<div className="card-body card-over">
-				<Datatable options={{ responsive: false }}>
-					<table className="table w-100" data-order='[3,"asc"]'>
+				<Datatable options={{ responsive: false, ordering: true }}>
+					<table className="table w-100" data-order='[3,"desc"]'>
 						<thead>
 							<tr>
 								<th>Nomor Sanksi</th>

+ 1 - 1
components/Keberatan/TableSanksi.js

@@ -7,7 +7,7 @@ function TableSanksi({ listData, to, linkName }) {
 	return (
 		<div className="card b">
 			<div className="card-body card-over">
-				<Datatable options={{ responsive: false }}>
+				<Datatable options={{ responsive: false, ordering: true }}>
 					<table className="table w-100" data-order='[[3, "desc"]]'>
 						<thead>
 							<tr>

+ 1 - 1
components/Main/TableLaporan.js

@@ -8,7 +8,7 @@ function TableLaporan({ listData, to, linkName, status = false, noBy = false })
 		<div className="card b ">
 			<div className="card-body card-over">
 				{listData && (
-					<Datatable options={{ responsive: false, ordering: true, keys: true }}>
+					<Datatable options={{ responsive: false, ordering: true }}>
 						<table className="table w-100" data-order='[[3, "desc"]]'>
 							<thead>
 								<tr>

+ 2 - 2
components/Main/TableSanksi.js

@@ -8,8 +8,8 @@ function TableSanksi({ listData, to, linkName }) {
 		<div className="card b">
 			<div className="card-body card-over">
 				{listData && (
-					<Datatable options={{ responsive: false }}>
-						<table className="table w-100" data-order='[[3, "desc"]]'>
+					<Datatable options={{ responsive: false, ordering: true }}>
+						<table className="table w-100" >
 							<thead>
 								<tr>
 									<th>Nomor Sanksi</th>

+ 1 - 1
components/Pelaporan/TableLaporan.js

@@ -18,7 +18,7 @@ function TableLaporan({ listData, to, linkName, status = false, noBy = false })
                     </Link>
                 </div>
                 {listData && (
-                    <Datatable options={{ responsive: false, ordering: true, keys: true }}>
+                    <Datatable options={{ responsive: false, ordering: true }}>
                         <table className="table w-100" data-order='[[3, "desc"]]'>
                             <thead>
                                 <tr>

+ 1 - 1
components/PelaporanTuntas/TableLaporan.js

@@ -8,7 +8,7 @@ function TableLaporan({ listData, to, linkName }) {
 		<div className="card b">
 			<div className="card-body card-over">
 				{listData && (
-					<Datatable options={{ responsive: false }}>
+					<Datatable options={{ responsive: false, ordering: true }}>
 						<table className="table w-100" data-order='[[2, "asc"], [3, "desc"]]'>
 							<thead>
 								<tr>

+ 1 - 1
components/Pemeriksaan/TableLaporan.js

@@ -8,7 +8,7 @@ function TableLaporan({ listData, to, linkName }) {
 		<div className="card b">
 			<div className="card-body card-over">
 				{listData && (
-					<Datatable options={{ responsive: false }}>
+					<Datatable options={{ responsive: false, ordering: true }}>
 						<table className="table w-100" data-order='[[2, "asc"], [3, "desc"]]'>
 							<thead>
 								<tr>

+ 1 - 1
components/PencabutanSanksi/TableSanksi.js

@@ -7,7 +7,7 @@ function TableSanksi({ listData, to, linkName }) {
 	return (
 		<div className="card b">
 			<div className="card-body card-over">
-				<Datatable options={{ responsive: false }}>
+				<Datatable options={{ responsive: false, ordering: true }}>
 					<table className="table w-100" data-order='[3, "asc"]'>
 						<thead>
 							<tr>

+ 1 - 1
components/Penjadwalan/TableLaporan.js

@@ -8,7 +8,7 @@ function TableLaporan({ listData, to, linkName }) {
 		<div className="card b">
 			<div className="card-body card-over">
 				{listData && (
-					<Datatable options={{ responsive: false }}>
+					<Datatable options={{ responsive: false, ordering: true }}>
 						<table className="table w-100" data-order='[[2, "desc"], [3, "desc"]]'>
 							<thead>
 								<tr>