Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82327

How to overwrite the column width given in Mendix Data Grid?

$
0
0

Hi Team,

Please advise, how can I overwrite the Data grid column width give in modeler to column width fit with its contents? Personally, want to achieve using percentage property instead of pixel.

I’m using ”Data-grid Extension widget” which uses the width in percentage for dynamically show/hide columns. And becomes invalid, if we change Data-grid width property from percentage to pixel as you suggested. Basically, I want my grid columns to fit based on its content (not based on width given in modeler )and using Data-grid Extension widget property.

When I debug the widget, found a piece of Java script calculates width and shared equally to the available columns. And I want those column width to fit based on its content instead of shared equally.


Viewing all articles
Browse latest Browse all 82327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>