Questions tagged [wice-grid]

A Rails grid plugin that allows the programmer to define the contents of a cell by himself, just like one does when rendering a collection via a simple table.

WiceGrid is a Rails grid plugin.

One of the goals of this plugin was to allow the programmer to define the contents of the cell by himself, just like one does when rendering a collection via a simple table (and this is what differentiates WiceGrid from various scaffolding solutions), but automate implementation of filters, ordering, paginations, CSV export, and so on. Ruby blocks provide an elegant means for this.

37 questions
0
votes
1 answer

Using Simple Form to update to-do list task on click

I'm trying to use simple form to update a nested object on the click of a button. I'm making a to do list, with individual tasks/items nested within the overall list. The button click should update the task's completed attribute to true. The button…
user3721240
0
votes
1 answer

Wice_Grid CSV export not working - Uninitialized constant CSV::Writer

I "inherited" a rails aplication running with ruby 1.8.7 in development. I have a wice_grid table which I'm trying to export in CSV and in development all goes perfect. When I push it to production, i get the following error: uninitialized constant…
anexo
  • 495
  • 1
  • 11
  • 22
0
votes
1 answer

Ruby on rails 4: Unexpected result when filter datetime field in specified time zone with wice_grid

The time zone is set to GMT +1100 through config.time_zone = 'Australia/Sydney' The date helper is set to calender by Wice::Defaults::HELPER_STYLE = :calendar When I filter a datetime field 'created_at' by input the start date to '2014-10-21'…
fibers
  • 16
  • 2
0
votes
1 answer

In Rails using Wicegrid, how do I create link_to to destroy a record and return to the grid?

I am using Rails 4 with Wicegrid, I want to have a link on each row of the grid to be able to delete a record, I have created the link_to but when I pressed it I get the error: No route matches [DELETE] "/". I don't want to send it the user to the a…
0
votes
2 answers

wice_grid icons not showing up on heroku

I am using wice_grid to show list of questions on my website. Wice_grid comes up with bunch of icons for filtering, excel export etc. These icons show up on my development server, but they dont show up on heroku. I can click on the point where the…
amey1908
  • 157
  • 3
  • 11
0
votes
2 answers

Rails attribute value returned in hexadecimal

I am running the following active record query Keyword.joins(:questions, :users, :associations).select("questions.*, keywords.keyword").where(users: {id: @user.id}) and presenting the results using wice_grid using the following code - <%=…
amey1908
  • 157
  • 3
  • 11
-1
votes
1 answer

how to remove reload dropdown in gem wice_grid rails?

i folowing this tutorial : https://github.com/leikind/wice_grid , the gem generate table but how to relaod dropdown ?
3lviend
  • 243
  • 5
  • 13
1 2
3