< class="prominent-subhead ">

Code Fix: Unable to resize a column in a SmartForms Runtime List View

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description
In a SmartForms runtime List View, when dragging a column to resize it, the column will jump to a different size than specified. In some cases, an entirely different column is affected when attempting to resize a specific column.

Error Message
In some scenarios where a hidden column is involved, a JavaScript error occurs stating: “SCRIPT5007: Unable to get property 'replace' of undefined or null reference”.

Repro Steps

  1. Create a SmartObject with ten text Properties and generate an Editable List View.
  2. Edit the Editable List View and Hide one of the columns.
  3. Add a Button control to the toolbar.
  4. Add the following rule:
    When Button is clicked show the hidden column.
  5. Finish and run the view.
  6. Make the column to the left of the hidden column bigger.
  7. Click the button.
  8. The resizing is not applied correctly and in the console a JavaScript Error occurs.


  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February 2017 Cumulative Update FP2 from Regional Support.
  4. Install the K2 4.7 February 2017 Cumulative Update FP2 to apply the fix.
  5. Clear the Browser cache.