IAm using the grdiview ,in which iam using the print option,problem is i want to remove the gridlines using javascript or jquery, i dont want the code in the codebehind or in the gridview property,when the printdiv function is called the grdilines should disappear.grd is the asp gridview name.kindly provide some suggestions.
function printDiv(divID) {
$("<%=grd.ClientID %> tr").css({ 'border-color': 'White', 'border-width': '0px' });
$("<%=grd.ClientID %>").attr("border", "0");
}
$("<%=grd.ClientID %> tr").css({ 'border-color': 'White', 'border-width': '0px' });
$("<%=grd.ClientID %>").attr("border", "0");
}
ashok kumarPosted Mar 31, 2014, 8:03 AM
Tried That code earlier that was also not working
JobPencilPosted Mar 31, 2014, 8:01 AM
Hide the asp gridview lines using javascript or jquery
Thanks
Find Jobs