Can I have cell borders (using dojo / js code without changing the css property - .dojoxGridCell) programmatically.
-
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.– bajjiCommented Jul 19, 2018 at 21:24
-
I've tried few things. But no luck.– user1767599Commented Jul 21, 2018 at 1:33
-
can you post what did you try?– bajjiCommented Jul 23, 2018 at 14:27
Add a comment
|
1 Answer
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
}
});