Questions tagged [w2ui]

w2ui is a jQuery-based user interface & layout library.

The w2ui library is a set of jQuery plugins for front-end development of data driven web applications. It contains all of the most common UI widgets: Layout, Grid, Sidebar, Tabs, Toolbar, Popup, Field Controls and Forms.

166 questions
1
vote
1 answer

w2ui grid: disable single row selection

I have a w2ui grid with multiSelect enabled. My goal is to disable selection of certain rows and keep available selection of others. let grid = new w2grid({ name: 'grid', box: '#grid', multiSelect: true, show: { …
Stefano Radaelli
  • 1,088
  • 2
  • 15
  • 35
1
vote
0 answers

W2ui grid Return custom error mesage isted of data from remote url

I'm using W2ui grid version 2 and trying to return an custom error message instead of record data. The JSON I'm sending back to grid is {error:true, message:"Test"} but grid is not showing my message instead it is showing "HTTP error. See console…
1
vote
1 answer

Styling a form (w2form) in w2ui

I have a form in w2ui (https://w2ui.com/web/), exactly in the part of the forms (https://w2ui.com/web/docs/2.0/form). I have the following form: $().w2form({ name : 'myForm', fields : [ { name: 'first_name', type:…
1
vote
0 answers

Open second popup when a popup is open in w2ui (w2popup)

I am working with the W2UI library, exactly with popups (https://w2ui.com/web/docs/2.0/popup). I am opening a popup and at the same time, this popup has a button to open another popup. When I open the second popup, it replaces the first popup, so…
1
vote
0 answers

Why does omitting "background-color" CSS attribute break w2ui's slide animations?

When I exclude the "background-color" CSS property of the .box class, it break the w2ui slide animation. The first click works, but on the 2nd click, the contents of #box2 appear within #box1. I'm trying to use w2ui's slide animation, and I've…
1
vote
1 answer

How to refresh w2ui grid to render a record value that is changed programmatically?

I'm using w2ui v1.5 and have the following "design" Html:
Script: w2ui.myGrid.on('change',(event)=>{ if(event.value_new !== event.value_previous) { const…
PhD
  • 11,202
  • 14
  • 64
  • 112
1
vote
1 answer

w2ui combo input doesn't work inside a popup

Does anybody use the w2ui.com component library? There is a cool input component (called combo) that filters a list as you type. But it doesn't seem to work when it is inside of a popup. When you type in the input box, nothing appears in the…
user3217883
  • 1,216
  • 4
  • 38
  • 65
1
vote
2 answers

how to make w2grid width 100%?

Does anybody use w2grid? I cannot figure out how to make it fill 100% of its container. The html looks like this:
This is a table header
user3217883
  • 1,216
  • 4
  • 38
  • 65
1
vote
2 answers

w2ui text selection in grid

I would like to enable text selection in a grid. I'm aware that this is possible by pressing the cmd button, unfortunately most user doesn't know that. Is there any configuration I'm not aware of? Or where could I enable that? Thanks
bmr
  • 11
  • 1
1
vote
0 answers

Lock certain cells in w2ui grid & lock icon in the cell

I have a couple of questions regarding locking (as in not allowing user to modify) entries in w2ui grid: Is there a way to lock a certain cell of an editable column? I know from the documentation that I can lock the whole grid with w2grid.lock…
1
vote
1 answer

w2ui grid inline edit enter-key behaviour

when inline-editing a text column in the w2ui.grid the ENTER key applies the change AND starts editing one row below. How can I prevent the editing of the line below, but only apply the changes to the current row? Thank you.
Udo VV
  • 63
  • 1
  • 6
1
vote
0 answers

jquery addon function not adding element to DOM in nw.js inside w2ui panel

I created this in fiddle to show what I'm trying to do in nw.js. This works just fine. 2 tabs get created dynamically at run-time just fine. http://jsfiddle.net/fnbqupf4/ I port this over to my nw.js and I get an error when ace.edit() is called…
user441521
  • 6,942
  • 23
  • 88
  • 160
1
vote
0 answers

W2UI edit inline does not work with infinite scroll

Good morning, I tried the example of w2ui infinity scroll, but by adding the property: editable columns is produced an error. Can someone help me ? Thank you.

1
vote
0 answers

generating js code from python, not sure if going the right path

I have a web application that is structured as the following: Server is written in Python. It serves the client an HTML page with about 100 different tables (grids) and matching JS files. Every grid is a DIV with JS code that initializes…
susdu
  • 852
  • 9
  • 22
1
vote
1 answer

w2ui with jquery 3.1.1 grid not showing records

I'm trying to make w2ui grid with some data in it shown on page. But if I use jquery 3.1.1 grid is rendered and shown, but records are not shown (reload button make them appear but that's not a solution). My code: …
1
2
3
11 12