【问题标题】:best in place gem becomes editable only when clicked on the data , how to enable editing when the user clicks anywhere in that particular tdbest in place gem 仅在单击数据时才可编辑,如何在用户单击该特定 td 中的任何位置时启用编辑
【发布时间】:2016-06-08 06:21:15
【问题描述】:

我正在使用最好的就地 gem 在表格中进行就地编辑。它工作得很好,但列字段只有在单击数据时才可编辑。我希望它在单击该列区域中的任何位置时是可编辑的。

另外,我如何提供一些样式来指示用户列字段是可编辑的?

【问题讨论】:

    标签: ruby-on-rails best-in-place


    【解决方案1】:

    我已经通过将 css 应用到该方法提供的最好的类来解决这个问题 :)

    【讨论】:

    • 一些额外的信息会有所帮助。也许包括相关的 CSS?
    猜你喜欢
    • 2012-10-28
    • 2020-02-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-19
    • 2018-06-22
    • 2021-02-12
    相关资源
    最近更新 更多