Hi, I'm Using SmartClient 14.1p.
For a ListGrid with both filterEditor and summaryRow, showing a column fails to correctly propagate to the summaryRow.
To reproduce:
The summary row is visually incorrect: the summary values are in wrong columns, and in some themes (e.g. Tahoe) the row background doesn't extend to the last column.
Also various actions may crash, e.g. Auto Fit All Columns:
I've checked earlier versions in the ShowCase:
For a ListGrid with both filterEditor and summaryRow, showing a column fails to correctly propagate to the summaryRow.
To reproduce:
- ShowCase sample: Grid Summaries
- Show Filter Row
- Hide "Order ID" (or any other) column
- Show the same column
Code:
ListGrid:companyList_summaryRow:showField(): unable to find field object for field: [object Object]. Taking no action. Call setFields() to add new fields.
Also various actions may crash, e.g. Auto Fit All Columns:
Code:
Log:TypeError: can't access property "$28w", _9 is undefined
Stack from error.stack:
GridRenderer._cacheColumnHTML()
GridRenderer.getTableHTML()
GridRenderer.getColumnAutoSize()
ListGrid._getBodyColumnAutoSize()
ListGrid.getAutoFitValueWidths()
ListGrid.getFieldAutoFitWidths()
ListGrid.autoFitFields()
anonymous()
Menu.selectMenuItem()
Menu.rowClick()
anonymous()
GridRenderer._rowClick()
Class.invokeSuper()
Class.Super()
GridBody._rowClick()
GridRenderer.click()
Canvas.handleClick()
[c]EventHandler.bubbleEvent()
[c]EventHandler.handleClick()
EventHandler._handleMouseUp()
[c]EventHandler.handleMouseUp()
[c]EventHandler.dispatch()
anonymous()
EventHandlerNonNull*isc_c_EventHandler_captureEvent()
[c]EventHandler.captureEvents()
unnamed()
- 13.0p works correctly.
- 13.1p and 14.0p also have this bug.
Comment