Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-401

dataGrid without configurePager 'hiding' overflow rows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1Beta
    • Fix Version/s: V1Beta
    • Component/s: NetUI
    • Labels:
      None
    • Environment:
      Linux; Tomcat 2.0.28; Beehive SVN r156059

      Description

      If I define a Data Grid without specifying a pager, I expect to see all rows in my grid regardless of how many. The Data Grid actually cuts of the grid at 10 rows, but doesn't provide any way for me to see the other rows.

      <netui-data:dataGrid dataSource="pageFlow.users" name="users">
      <netui-data:header>
      <netui-data:headerCell headerText="Username"/>
      <netui-data:headerCell headerText="First"/>
      <netui-data:headerCell headerText="Last"/>
      <netui-data:headerCell headerText="Root"/>
      <netui-data:headerCell headerText="Locked"/>
      </netui-data:header>
      <netui-data:rows>
      <netui-data:anchorCell action="edit"
      value="${container.item.username}">
      <netui:parameter name="id" value="${container.item.id}"/>
      </netui-data:anchorCell>
      <netui-data:spanCell value="${container.item.firstName}"/>

      I cut off the source there, but I think that you get the idea. Here is the relevant HTML that is generated:

      Page 1 of 2   <a>Next</a>
      <table class="datagrid">
      <tr class="datagrid-header">
      <th class="datagrid">Username</th>
      <th class="datagrid">First</th>
      <th class="datagrid">Last</th>

      • jeremiah

        Attachments

        1. BEEHIVE-401.tar
          20 kB
          Jeremiah Johnson
        2. noPageAction.png
          10 kB
          Jeremiah Johnson

          Activity

            People

            • Assignee:
              jerjohns Jeremiah Johnson
              Reporter:
              jerjohns Jeremiah Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: