Search
GridModel.columnMetaData Method
See Also
 






Gets the column meta data object.

Namespace: MindFusion.DataViews
File: GridModel.js

 Syntax

JavaScript  Copy Code

function columnMetaData (column)

 Parameters

column

Number. The column index.

 Return Value

Map. A Map instance containing the column meta data.

 Example

The following code uses the metadata of the second column in a grid model to set a custom editor:

JavaScript  Copy Code
grid.model.columnMetaData(1).set("customEditor", {
         "autoComplete": true,
         "allowEmptyInput": true,
         "locale": localeObj
});

 See Also