PDA

View Full Version : EmptyDataTemplate for Coolite controls?



lionelhutz
Nov 03, 2009, 9:50 AM
Just as the asp:GridView has an EmptyDataTemplate you can set that will display only when there is no data in the datasource, do any of the Coolite controls implement this feature? I'm assuming they don't, but wanted to verify.

Vladimir
Nov 03, 2009, 9:54 AM
Hi,

GridPanel's GridView has the following properties


EmptyText : String
Default text to display in the grid body when no rows are available (defaults to '').


DeferEmptyText : Boolean
True to defer emptyText being applied until the store's first load

lionelhutz
Nov 03, 2009, 2:42 PM
As always, I appreciate the help. That's good to know for the GridPanel, but I am specifically looking for that functionality in the FormPanel right now. It's a 'nice to have' but I can definitely just add logic on my end for it. Thanks.