Hello, Syncfusion:
I am displaying a rather large load of data with many columns, the problem I am facing is that the data inside column is not long but the column header could be 2-4 words long, our users preferred not having a scroll bar instead, they are fine with wrapping the headers into 2-3 lines, could this be done? any example out there?
Thanks
|
[App.vue]
<template>
<div id="app">
<ejs-grid
:dataSource="data"
:allowPaging="true"
:allowTextWrap="true"
:textWrapSettings="wrapSettings">
----
</ejs-grid>
</div>
</template>
<script>
---
export default {
data() {
return {
data: gridData,
wrapSettings: { wrapMode: "Header" }, // set the wrap mode
};
},
};
</script>
|
Thanks for the quick reply and code example! hmm,
But with number of columns we got the column headers all went vertically, maybe we will try a different design. thanks still.
|
[App.vue]
<e-column
field="OrderID"
headerText="Order ID is should be large text"
textAlign="Right"
width="100"
></e-column>
|
I found this helped...
Michael,
We are happy to hear that you have found the solution at your end and achieve your requirement.
Please get back us if you need any further assistance