user1767599
user1767599

Reputation: 77

dojo toolkit - Enhanced Grid - can we have cell border?

Can I have cell borders (using dojo / js code without changing the css property - .dojoxGridCell) programmatically.

Upvotes: 0

Views: 153

Answers (1)

MiBrock
MiBrock

Reputation: 1100

If you have setup your Grid programmaticaly you can use the "style" Option to change the layout of the grid for example.

          YourGrid = new EnhancedGrid({
                    id: 'YourGridId',
                    store: YourStore,
                    style: "width:500pt;height:200pt;",
                    structure: layoutYourGridsName,
                    rowSelector: '20px',
                    keepSelection: false,
                    plugins: {
                        indirectSelection: IndirectSelectionSettings,
                        filter: Filtersettings,
                        pagination: PaginationSettings,
                        exporter: true
                    }
                });

Upvotes: 0

Related Questions