Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我想在我的网格中打印“未找到记录”,在表格中找不到任何内容或 0 行。现在我的网格在获取数据时显示结果,但在没有时显示空网格。那么当没有记录时如何打印“未找到记录”?
在 BackGrid.Grid 中添加属性 emptyText,它是一个字符串。
例如:
var grid = new Backgrid.Grid({ columns: columns, collection: myDataCollectoin, emptyText: "no data" });
在大约一年的 OO-PHP 经验之后,我只是向 ZF 介绍自己。我开始使用的这本书:
<?=
在地方而不是
<?php echo
作者似乎很有信心这将输出数据,而不是实际代码,但是,它似乎对我不起作用,因为我不得不使用普通方法。
有没有人成功地使用前者而不