Closed vasu-vvp closed 5 years ago
any updates on this ?
is there a way to apply custom color for selection ? OR Any way to turn off red border drawing in for selection.
Red border for selected row
Have you try to call the following code:
grid.setViews({
"marker": null
});
If you host zebkit locally, you can use another manner to disable the border with correcting "ui.grid.json" file for light theme. Open the file, find the following text there:
...
"Grid": {
...
"views" : {
"focusOnSelect" :"#D0EAFF",
"focusOffSelect" :"#ADC1D6",
"marker" : {
".border" : ["red", 2]
}
},
...
}
and correct it as follow:
...
"Grid": {
...
"views" : {
"focusOnSelect" :"#D0EAFF",
"focusOffSelect" :"#ADC1D6"
},
...
}
when we select row, column or cell in grid selection works but red border is displayed on selected area. How do i change this? is there a way to apply custom color for selection ?