strLabelForNoneFound not being shown

thread: 3 messages  |  last: about 6 years ago  |  started: wednesday, may 16, 2012, 9:52 pm pdt


#1  |  neuroticimbecile (Manila) Philippines
Wednesday, May 16, 2012, 9:52 PM PDT

Using QCodo v0.4.22 on PHP 5.2.10

When a datagrid's datasource is empty,
the “strLabelForNoneFound” doesn't get displayed.

#2  |  Gaspar Attila (Odorheiu Secuiesc, RO) Romania
Thursday, May 17, 2012, 2:19 PM PDT

Hello neuroticimbecile,

from version 0.4.17, has a new property named NoDataHtml.

When DataSource is empty this property value displayed instead of the empty datagrid.
So, use this property if you want to show any custom notice, etc.

Regards,
Attila

#3  |  Mike Ho (San Diego, CA) United States of America Qcodo Administrator
Friday, May 18, 2012, 8:49 PM PDT

Could you provide some sample code to show it not working?  Please be brief (e.g. you should be able to just post about 10 lines of your index.php and another 4 or 5 codes for your index.tpl.php) to show the minimum amount of code to replicate your issue.

Thanks!



Copyright © 2005 - 2019, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.