а

Grid - How to set up Multiline?


#1

The enableMultiline is not avaliable in 6.0? How to set up multiline in 6.0?

Thanks,

var grid = new dhx.Grid(“grid_container”, {
columns: [
{ width: 100, id: “a”, header: [{ text: “#” }, {content: “inputFilter”}] },
{ width: 100, id: “b”, header: [{ text: “Title” }, {content: “selectFilter”}] },
{ width: 200, id: “c”, header: [{ text: “Name” }, {content: “inputFilter”}] },
{ width: 200, id: “d”, header: [{ text: “Address” }, {content: “inputFilter”}] }
],
headerRowHeight: 50,
data: dataset
});

grid.enableMultiline(true); <-- This generated an error, grid.enableMultiline is not a function


#2

enableMultiline() method is a function of the dhtmlxGrid 5, while you are using the dhtmlxGrid 6.
Currently there is no multiline mode in the dhtmlxGrid 6.