We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46309
    • 79 Posts
    Is there a way to set the height of the MIGX Grid columns?

    I'm using the following code for my Grid columns:
    [
    {"header": "Title", "width": "50", "sortable": "true", "dataIndex": "title"},
    {"header": "Link", "width": "50", "sortable": "false", "dataIndex": "link"},
    {"header": "Content", "width": "150", "height": "20", "sortable": "false", "dataIndex": "content"}
    ]


    The Form Tabs:
    [
    {"caption":"Title", "fields": [
        {"field":"title","caption":"Title"}
    ]},
    {"caption":"Link", "fields": [
        {"field":"link","caption":"Link"}
    ]}, 
    {"caption":"Text", "fields": [
        {"field":"content","caption":"Text","inputTV":"richtext"}
    ]}
    ] 


    I want to set the height of the grid to be 20 for example, but nothing happens.
    The reason I want to do that is because I'm using "richtext" as inputTVtype for the content and there is a lot of paragraphs with text inside. I'm using CKEditor for the richtext. In the current situation every paragraph is placed on a new line in the grid column and the height becomes too big - you can see it in the attached file. Is there a way to fix the height and to make it smaller?

    Thank you in advance!
      peace&love / bike&ride