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
0
votes
1 answer

Data there, but not visible in grid

My scenario: I have a w2ui data grid, data is coming from remote server by calling Rest api. I can see the response data in browser debugger but not in the grid. Please help. My code and Firebug snapshot below. Thank you very much for any hints. …
Waldemar
  • 5
  • 3
0
votes
1 answer

w2ui toolbar - is there a way to fill menu items dynamically

I want to fill my w2ui toolbar menu item dynamically using javascript. I tried using: document.getElementById but it didn't work since theres no id for the dropdown menu. the section processes is the one that I'm trying to fill dynamically…
carlkassar
  • 7
  • 1
  • 5
0
votes
1 answer

What do I need to use to save changed rows, back to .json file?

Please help. Short scenario: I select 5 records/rows in a grid, set the value, in 1 of their column, to 'Not Steuart'. So 5 rows got changed in grid. When I use button on the toolbar, toolbarSave: true, nothing happens, What do I need to use to…
Waldemar
  • 5
  • 3
0
votes
1 answer

Is it possible to have a date input in a w2ui toolbar

I am wondering if there is any way one could place a date input control in a toolbar similar to the one used for date input on a form?
user79074
  • 4,937
  • 5
  • 29
  • 57
0
votes
2 answers

Set a checbox checked by default on an autogenerated form

I have a form with few fields, and it autogenerating the HTML, and i'd like to keep it that way. $('#tabTabData').w2form({ header: 'Data', name: 'formEdit', url: '******.asp', fields: [ { name: 'Active', type: 'checkbox', required:…
0
votes
1 answer

How to change the time format in hh:mi:ss of a w2ui time field?

The field where I'm setting the time field is like this $('#stime').w2field('time', { format: 'h24'}) but I want seconds too, how to change the field format?
Suparna
  • 85
  • 2
  • 14
0
votes
1 answer

Reloading w2ui's grid.columns.editable.items if the field is a combo box

I'm trying to alter the "items" array attached to a combo box inside an editable field of w2ui's grid after the grid has been initially rendered. To demonstrate my issue I've set up a jsfiddle taken from the "grid inline editing" demo here:…
Dave Hayes
  • 56
  • 7
0
votes
2 answers

how to select "w2ui dropdown" elements in Selenium IDE?

We have w2ui dropdown element on our web site, and I want to run script using selenium IDE for testing, I have recorded steps but getting error when I run that script(element not found). Is there any way to handle w2ui element in Selenium IDE…
MAK
  • 1
  • 3
0
votes
1 answer

grid json data without records attribute

I was going through w2ui grid with loading json data. Most of the grid-json examples it shows the json data with records attributes. Please find the code below. http://w2ui.com/web/demos/#!grid/grid-1 My requirement is I will be getting the json…
user414967
  • 5,225
  • 10
  • 40
  • 61
0
votes
1 answer

How to use the 'Plus' icon in w2ui

I have added a custom button to a w2ui form but I would like it to be consistent with the other w2ui buttons. It has 'add' functionality so I would like to display the 'plus' icon similar to the one used in a w2ui toolbar. Can someone tell me the…
user79074
  • 4,937
  • 5
  • 29
  • 57
0
votes
1 answer

Correct usage of js.ThisFunction0

I am trying to get scala.js working in conjunction with the w2ui jQuery library. However, when I define my reset action in a form, the behaviour is not as I would have expected. In order to handle my reset action. I define something like the…
user79074
  • 4,937
  • 5
  • 29
  • 57
0
votes
1 answer

W2GRID: Save changes automatically when the user modify a cell value

I'm using the w2grid widget on inline editing mode. My program needs save changes to database each time the user introduces a new value into the cell grid. To do this, I defined a onChange event to the grid, and when onChange is triggered the save()…
0
votes
1 answer

w2ui Grid with composite key database table

I'm using an amazing JavaScript UI library: w2ui. I'm learning how the widget Grid works. Each row of the Grid is identified using a unique integer ID (recid). If your database has an integer as primary key this is perfect, you can use this key like…
Jesús
  • 21
  • 4
0
votes
1 answer

Sort arrow on custom sort with w2ui.js

I am working on w2ui where i got my own custom sort function. The sort function is working find but the arrow is not displaying in the table header. I have applied my custom sort in lastname and you can see the arrow on clicking the firstname. How…
Alaksandar Jesus Gene
  • 6,523
  • 12
  • 52
  • 83
0
votes
1 answer

Can't figure out how to add a function to a specific context menu item in w2ui grid

I've been working with w2ui and grids, and I can't seem to figure out how to get the id of the context menu item clicked. I want to be able to assign different functions to each context menu item, but can't figure it out! I always have troubles with…
AndyRob7
  • 33
  • 1
  • 1
  • 5