Hi Paul,
This would be a good question for the Beehive user list. There is a
way to provide a custom pager using the NetUI configurePager tag and
its pagerRendererClass attribute. Something like...
<netui-data:configurePager pagerRendererClass="com.you.className" ...>
You would implement your custom pager to extend
org.apache.beehive.netui.databinding.datagrid.api.rendering.PagerRenderer
and override the following method.
protected String noDataRender() {
return "";
}
http://beehive.apache.org/docs/1.0.2/netui/apidocs/javadoc/org/apache/beehive/netui/databinding/datagrid/api/rendering/PagerRenderer.html#noDataRender()
Hope that helps. Kind regards,
Carlin
On 11/12/07, Gorbas, Paul H [IT] <[EMAIL PROTECTED]> wrote:
> Sorry, I am grasping at straws here to come up with what *should* be a
> simple solution to a common issue, but I can find a tech reference which
> covers this area.
>
> When you are using the netui:datagrid control, how do you set the
> default message which displays when the data set is null or empty?
>
> So if a DataGrid with data displays like this:
> * HEDADER
> * <repeat start>
> * data rows....
> * <repeat end>
> * FOOTER
>
>
> That is instead of my empty datagrid just displaying:
> * HEDADER
> * FOOTER
> It instead displays something like:
> * HEDADER
> * No data to be displayed.
> * FOOTER
>
>
> Thanks in advance. If there is a link to a resource I do not know about
> for this type of information I would also appreciate getting it.
> -Paul Gorbas
>
>
>
>