Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Width #199

Open
13ran opened this issue Apr 5, 2024 · 0 comments
Open

Width #199

13ran opened this issue Apr 5, 2024 · 0 comments

Comments

@13ran
Copy link

13ran commented Apr 5, 2024

How would I have the load board take up 100% width and inventory/sales take up 50%? I've tried seperate kanban elements but than I am not able to drag between

var kanban = new jKanban({ element: '#jkanban', responsivePercentage: '100%', dragBoards: false, dragItems: true, dropEl: function (el, target, source, sibling) { document.querySelector("#jkanban > div > div:nth-child(1) > header > div").textContent = 'Load (' + kanban.getBoardElements('load').length + ' Vehicles Selected)'; }, boards: [{ 'id': 'load', 'title': 'Load (0 Vehicles Selected)', "dragTo": ['inventory','sales'], 'item': [] }, { 'id': 'inventory', 'title': 'Inventory', "dragTo": ['load'], 'item': <?php echo GetInventory(); ?> }, { 'id': 'sales', 'title': 'Sales', "dragTo": ['load'], 'item': <?php echo GetSales(); ?> } ] });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant