Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

RawJs in GridColumnAttribute #5

Open
mabbasian opened this issue Mar 4, 2014 · 1 comment
Open

RawJs in GridColumnAttribute #5

mabbasian opened this issue Mar 4, 2014 · 1 comment

Comments

@mabbasian
Copy link

There is a RawJs property in FormFieldAttribute that is very usefull when implimenting new client side controls but GridColumn does not provide all Extjs columns properties (e.g Summary feature) so adding RawJs to it will solve many problems 😃

@borisdj
Copy link
Contributor

borisdj commented Apr 8, 2014

Dextop.ux.SwissArmyGrid has 'columnModelOptions' field that you can use to achieve this.
Just in .js file set it like this:
var columnModelOptions = {
apply: {
CompanyType: {
filterable: true,
},
CountryId: {
...
}
}
};

var grid = this.grid = Ext.create('Dextop.ux.SwissArmyGrid', {
columnModelOptions: columnModelOptions,
....
}

CompanyType and CompanyType are names of properties/columns.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants