wice-grid

    0熱度

    2回答

    我的項目對於表用戶「first_name」「和」last_name「有2列,我想在1列中顯示它們,並使用1個字段對其進行過濾(全名) 我有類似的東西: g.column name: 'First Name', attribute: 'first_name' do |user| user.first_name end g.column name: 'Last Name', attri

    1熱度

    1回答

    部署代碼時,時間過濾器圖標未顯示在生產服務器上。破碎的形象出現,而不是,我得到 資產編譯錯誤 。

    3熱度

    1回答

    首先,我知道wice_grid gem目前不支持rails 5。所以,網絡上已經出現了問題。 但現在我不能回去,因爲我在我的web應用程序開發中。 問題: 我想要一個簡單的數據網格在我的應用程序中具有過濾器屬性。下面是我的代碼: customers_controller.rb class CustomersController < ApplicationController layout

    2熱度

    1回答

    我想知道是否有可能做這樣的事情有一個Rails插件wice grid: <g.column do |model| %> <ul class='list-inline'> <li> <%= link_to model_path(model), :title => 'See' do %> <i class="glyphicon glyphicon-eye-

    0熱度

    1回答

    我在我的應用程序中使用了wice網格。我有一個具有帶布爾值的高亮屬性的模型。在wice網格表中,我不想使用默認的下拉過濾器,而是使用一些複選框或切換按鈕。 <%= grid(event_grid) do |g| g.column name: 'Highlight', attribute: 'highlight' do |event| event.highlight e

    0熱度

    1回答

    我是Ruby on Rails的新手。 我想讓哈姆和wice_grid一起工作。我使用這個例子作爲模型: http://wicegrid.herokuapp.com/basics3 我得到的錯誤「未定義局部變量或方法`show_code」的......」 在文件app /視圖/ basics3 /指數.html.haml,你可以在上面的鏈接中看到。 我是否缺少一顆寶石?一般來說,解決這類問題的最佳

    0熱度

    1回答

    我試圖使用custom_order來呈現任意的初始順序。 # GET /sequences def index @sequences_grid = initialize_grid(Sequence, enable_export_to_csv: false, per_page: 10, custom_order: { 'sequences.use

    0熱度

    1回答

    我在Wicegrid表,它遍歷一個學生的顧問,並列出它們在Wicegrid下面列執行。每個: g.column name: 'Student Advisor' do |user| res='' if user.advisors user.advisors.each do |advisor| advisor.username end en

    1熱度

    1回答

    我正在使用wice_grid並試圖讓過濾工作。 #[controller].rb def queue @grid = initialize_grid(Indication) end #view <%= grid(@grid) do |g| g.column name: "id", attribute: "id" do |t| t.id end end %> 在一起,

    1熱度

    1回答

    我在我的RoR應用程序中使用wice_grid。當我將屬性添加到其中一列時,我在網格中看到了一個額外的列,其中有兩個圖標看起來像一個漏斗和日曆,它們什麼都不做。 什麼是專欄和圖標?或者是因爲我的css配置不正確? 的Gemfile(這裏只有關寶石顯示) gem 'sass-rails', '~> 5.0' gem 'jquery-rails' gem 'jquery-ui-rails' ge