grid column doesn't reappear if columns menupopup set to auto and grid is sizedByContent

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 6.5.0, 6.0.3
    • Affects Version/s: 6.0.2, 6.5.0, 6.0.3
    • Component/s: Components
    • Security Level: Jimmy
    • None

      <zk>
      	<grid sizedByContent="true">
      		<columns menupopup="auto">
      			<column label="Author" sort="auto" />
      			<column label="Title" sort="auto" />
      			<column label="Publisher" sort="auto" />
      			<column label="Hardcover" sort="auto" />
      		</columns>
      		<rows>
      			<row>
      				<label value="Philip Hensher" />
      				<label value="The Northern Clemency" />
      				<label value="Knopf (October 30, 2008)" />
      				<label value="608 pages" />
      			</row>
      			<row>
      				<label value="Philip Hensher" />
      				<label value="The Fit" />
      				<label value="HarperPerennial (April 4, 2005)" />
      				<label value="240 pages" />
      			</row>
      		</rows>
      	</grid>
      </zk>
      

      Steps to reproduce:
      1. Un-select Author column from menupopup.
      2. Click some(Title for ex.) header column.
      3. Select Author column from menupopup

      Expected:
      Author column should reappear fine

      Actual:
      Author column doesn't reappear.
      Note: If you click on any column header again "Author" column will re-appear as expected in step 3 above.

            Assignee:
            vincentjian
            Reporter:
            ashishd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: