You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org> on 2006/06/15 22:20:30 UTC
[jira] Resolved: (BEEHIVE-1123) netui:dataGrid should not render
the headers if the size is 0
[ http://issues.apache.org/jira/browse/BEEHIVE-1123?page=all ]
Eddie O'Neil resolved BEEHIVE-1123:
-----------------------------------
Resolution: Won't Fix
Hm -- I disagree with this one. If the size is 0, you should wrap the data grid in a JSTL <if> tag and just not render anything.
It is often the case that a data grid with zero size still renders something to keep the size / shape of a page consistent.
So, just do:
<jstl:if value="${dataSet.size > 0}">
<netui-data:dataGrid ...>
...
</netui-data:dataGrid>
</jstl:if>
> netui:dataGrid should not render the headers if the size is 0
> -------------------------------------------------------------
>
> Key: BEEHIVE-1123
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1123
> Project: Beehive
> Type: Bug
> Reporter: Srinivas Surapaneni
>
> dataGrid is rendering the headers if the dataset size is 0
> It should not render anything
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira