Column width setting not working in some columns

Issue #411 new
Karen Wong created an issue

I got a table for over 20 columns, and setting colWidths in settings for same width with all the columns (except the 1st column), however the last three columns are showing wider than the others, tried add more columns in columnsMap and manually adjust column width also not working. More details can be found in forum post: Column width setting not working in some columns - Apliqo UX - Cubewise Forum

{
  "cardConfig": {
    "height": "500",
    "showTopBorder": true,
    "shouldShowTitlesSeparator": true,
    "showSpinner": false,
    "subTitle": false,
    "showFooter": false,
    "footer": {
      "showFilterInFooter": false,
      "iconClass": "",
      "text": "",
      "callBackFn": "",
      "href": ""
    }
  },
  "table": {
    "columnFormat": {
      "Fail": [
        {
          "condition": ">",
          "value": "0",
          "className": "bg-orange-200"
        }
      ]
    },
    "colWidths": [
      100,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75,
      75
    ],
    "columnsMap": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28,
      29,
      30
    ],
    "hiddenColumns": [],
    "hiddenRows": [],
    "tableFilters": {},
    "insertedRowsAndColumns": {
      "columnDataIndex": 0,
      "rowDataIndex": 0,
      "columnData": [],
      "rowData": []
    },
    "rowsMap": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28,
      29,
      30
    ]
  }
}

Comments (1)

  1. Log in to comment