A way to detect if no data is returned and display a message

Hi,

I’m looking to handle a case wherein no data is returned by my PHP source and display a message to that effect ONLY if the view is list. Please direct me as to how to achieve this.

Thanks.

Hi,

$$(“scheduler”).dataCount() returns the number of items in scheduler. So, if the number is 0, you may add the message directly into the “list” view:

[code]
.empty_list{
width:100%;
text-align:center;
padding-top:20px;
color:#a1a1a1;
font-weight:bold
}

[/code]