Column Configuration for Plugins

Column Configuration for Plugins

jbrittonjbritton Posts: 5Questions: 0Answers: 0
edited March 2014 in General
I'm working on a plugin for inline editing. Where is the best place to store column-level configuration for plugins? For example, I've thought about adding properties to the datatables column definition (much the same way as search and ordering options). Is this a good way to do this sort of thing? Or is there a better way?

[code]

// define the datatable columns (editable and editableConfig properties are used by the plugin)
var columns = [
{
"label": "Budget"
"data": "budget",
"type": "number",
"editable": true
"editableConfig": { ... }
}
]

[/code]
This discussion has been closed.