Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
261
Issues
261
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
Paul
third-party
Commits
bb3b8ebf
Commit
bb3b8ebf
authored
Jun 07, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow horizontal scrolling so columns don't overlap
parent
d15becc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
orders_helper.js
orders/static/js/orders_helper.js
+5
-4
No files found.
orders/static/js/orders_helper.js
View file @
bb3b8ebf
...
...
@@ -300,7 +300,7 @@ function prepare_datatable_columns() {
{
data
:
"default_code"
,
title
:
"Référence Produit"
,
width
:
"
10
%"
,
width
:
"
8
%"
,
render
:
function
(
data
)
{
return
(
data
===
false
)
?
""
:
data
;
}
...
...
@@ -312,12 +312,12 @@ function prepare_datatable_columns() {
{
data
:
"qty_available"
,
title
:
"Stock"
,
width
:
"
5
%"
width
:
"
4
%"
},
{
data
:
"incoming_qty"
,
title
:
"Quantité entrante"
,
width
:
"
5
%"
width
:
"
4
%"
}
];
...
...
@@ -344,7 +344,7 @@ function prepare_datatable_columns() {
columns
.
push
({
data
:
"uom"
,
title
:
"UDM"
,
width
:
"
5
%"
width
:
"
4
%"
});
return
columns
;
...
...
@@ -381,6 +381,7 @@ function display_products() {
stripeClasses
:
[],
// Remove datatable cells coloring
orderClasses
:
false
,
iDisplayLength
:
100
,
scrollX
:
true
,
language
:
{
url
:
'/static/js/datatables/french.json'
},
createdRow
:
function
(
row
)
{
for
(
const
cell_node
of
row
.
cells
)
{
...
...
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