className

To add CSS classname to a Grid.js instance

className type has the following properties:

NameDescriptionType
container optionalclassName of the main containerstring
table optionalclassName of tablestring
td optionalclassName of the TD elementsstring
th optionalclassName of the TH elementsstring
header optionalclassName of the header containerstring
footer optionalclassName of the footer containerstring
new Grid({
data: [
['John', '[email protected]', '(353) 01 222 3333'],
['Mark', '[email protected]', '(01) 22 888 4444']
],
className: {
td: 'my-td-class',
table: 'custom-table-class'
}
});
Last updated on by Afshin Mehrabani