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
9
votes
2 answers

express middleware to modify requests

i currently have a running server using nodejs, mongo, express and W2UI for the front end. W2ui requests come in an a record array that has all the parameters record[name]:foo i want to write a middleware that edits requests and changes them before…
motchezz
  • 153
  • 1
  • 1
  • 12
4
votes
2 answers

w2ui grid how to get sortData to sort on initialize

I have copied the example on the grid sortData http://w2ui.com/web/docs/w2grid.sortData and added sortable:true to lname, but the grid does not sort until I click the header. What am I doing wrong. Here is the jsfiddle:…
Maher
  • 481
  • 1
  • 6
  • 12
3
votes
1 answer

Array.prototype causing error

Am trying to implement w2ui multi select in one of d3 charts which am working on. This is the link to sample jsfiddle with the problem. I have three function : //get a column of an array Array.prototype.getColumn = function(name) { return…
driftking9987
  • 1,673
  • 1
  • 32
  • 63
3
votes
1 answer

W2UI multi keyword search

W2UI GRID I want to have grid search like in datatables .net It uses 'AND' condition for search text separated by space. My requirement is not to use that advance search which is already there next to search box because it is specific column…
2
votes
2 answers

how to initialize w2ui grid column width to content?

$( document ).ready(function() { console.log( "ready!" ); var records = []; var record1 = { recid: 1, strategy: "high/low", backtest: "v1", num_trades: 273, num_winners: 70, num_losers:…
user3217883
  • 1,216
  • 4
  • 38
  • 65
2
votes
2 answers

w2ui ignoring value in html form

w2ui is ignoring the value on the input tag. How do I get it to use the value? It reads the selects just fine. jsfiddle.net
Jason K
  • 1,406
  • 1
  • 12
  • 15
2
votes
1 answer

w2ui overlay is not rendered in cypress headless test

Test passes in headed mode, but always fails in headless mode I am trying to perform a test on the w2ui field of type "list" Ideally, when we click on this w2ui list element, a drop-down (overlay) is generated with the select options and then we…
Jay Patel
  • 21
  • 4
2
votes
1 answer

w2ui grid column title tooltip or bubble head

Is there any way to put a tool tip or bubble head for the w2ui grid's column header? I need something to put more explanation on what the column is about. I found the following links, but they seem to be outdated and no longer relevant for w2ui v1.4…
2
votes
1 answer

In javascript w2ui, is there a comprehensive list of all icons available?

I don't see a list of what is available so I can't really go beyond w2ui's demos.
user373839
  • 51
  • 6
2
votes
1 answer

w2ui grid RE-rendering issue

I am using w2ui grid (1.4) and angular 1.3.4 trying to render grid in one view. But at first load grid loaded successfully.But when I change the view grid fails to load throwing some error ERROR: The parameter "name" is not unique. There are other…
AKRICK
  • 55
  • 1
  • 7
2
votes
2 answers

W2UI Grid Inline Edit with Data Source

I'm using version 1.4.1 of w2ui Grid. I'm trying to do an inline edit whilst loading data from the server using the urls property. $(function () { $('#grid').w2grid({ name: 'grid', // begin block that causes grid to be…
dev
  • 2,949
  • 5
  • 37
  • 48
2
votes
1 answer

Using w2ui with Rails: Submitting a form

I am trying to build a Rails application with w2ui. I have hit my first snag when trying to submit a form built with w2ui. I have a simple model called Project with two attributes: name and description. The standard, scaffolded form built by Rails…
mydoghasworms
  • 18,233
  • 11
  • 61
  • 95
2
votes
3 answers

w2ui - toolbar change button image on click

I am using w2ui. I have a toolbar with one button. This button has the icon-image "icon-delete". When I click on the button, I want it to change the icon-image to "icon-add", but my code doesn't work. toolbar: { items: [{ type:…
Mike
  • 163
  • 1
  • 4
  • 19
2
votes
1 answer

How do I have a list without the -none- option in w2ui?

I want to have a list (select) without the default -none- option using w2ui forms. How can I remove it so only the items I put in there?
Coomie
  • 4,832
  • 3
  • 32
  • 44
2
votes
1 answer

How can I make a layout widget expand to full height in w2ui?

I'm trying out a relatively new JavaScript/jQuery UI library, w2ui. I've got a layout working in my LAMP application, but I am wondering how to make the layout div take the full height of the screen. Here's a demo of a resizable layout from the…
halfer
  • 19,824
  • 17
  • 99
  • 186
1
2 3
11 12