Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sree on Nov 20, 2008 02:42
open dhtmlx forum
DhtmlxGrid Row and Column Border color problem

hi,

i have a problem in dhtmlxgrid, on click of a particular cell i need to highlight the particular row and column with some border color,

see the screen shot http://img149.imageshack.us/my.php?image=initialinvestdw8.png


thanks in advance
Answer posted by Support on Nov 20, 2008 06:35
Grid doesn't support such selection mode, but you can try code similar to next

mygrid.attachEvent("onRowSelect",function(id,ind){
    mygrid.forEachRow(function(id){
        mygrid.setCellTextStyle(id,ind,"border:5px solid red;");
    })
    mygrid.setRopTextStyle(id,"border:5px solid red;");
});