【问题标题】:Hide a button in Kendo grid depend on value of column in the grid隐藏剑道网格中的按钮取决于网格中列的值
【发布时间】:2019-07-19 15:43:14
【问题描述】:

尝试隐藏Kendo网格中的Copy按钮取决于函数gridDataBound(e)中网格中状态列的值{}

【问题讨论】:

标签: kendo-grid


【解决方案1】:

如果您想在列中显示和隐藏按钮,请尝试以下操作

columns.Bound(c => c).Width(30).ClientTemplate("#if(Processed !='True'){#<button type='button' class=' btn-primary menus' title='Edit' href='\\#' onclick=\"view('#=ID)\"  ><i class='fa fa-edit'></button>#} else {##");

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-05
    • 2015-06-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-17
    相关资源
    最近更新 更多