0

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

3
  • Did you look into dojox/grid/EnhancedGrid API? there are ways to change CSS. Also always try to post the code that you have tried and then ask for suggestion.
    – bajji
    Commented Jul 19, 2018 at 21:24
  • I've tried few things. But no luck. Commented Jul 21, 2018 at 1:33
  • can you post what did you try?
    – bajji
    Commented Jul 23, 2018 at 14:27

1 Answer 1

0

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
                    }
                });

Not the answer you're looking for? Browse other questions tagged or ask your own question.