Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 剑道网格上的验证问题_Php_Kendo Ui_Kendo Grid - Fatal编程技术网

Php 剑道网格上的验证问题

Php 剑道网格上的验证问题,php,kendo-ui,kendo-grid,Php,Kendo Ui,Kendo Grid,我随身带着这个密码 $ dataBound: function () { dataView = this.dataSource.view(); $("#amount_detail tbody tr .k-grid-ChequeDetails").each(function () { var currentDataItem1 = $("#amount_detail").data("kendoGrid").dataIt

我随身带着这个密码

$ dataBound: function () {
            dataView = this.dataSource.view();

            $("#amount_detail tbody tr .k-grid-ChequeDetails").each(function () {
                var currentDataItem1 = $("#amount_detail").data("kendoGrid").dataItem($(this).closest("tr"));
                if (currentDataItem1.cheque_status == "0") {
                    $(this).remove();
                }
            });
但问题是,我想使用另一个表中的数据对按钮进行验证


我想使用另一个表中的数据在网格中显示按钮。例如:如果表“B.eu_id=1”在“A网格”中显示编辑按钮,否则隐藏该按钮

演示您的案例我正在以网格格式显示表A,但对连接到表B的某些记录进行验证,我如何对这些记录进行验证