Hello Friends,
How to hide single column in gridview while Printing the Gridview Using Javascript.
[Thanks and Regards]
Subhalaxmi DhalSingh
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 13, 2017, 2:58 AM EDT
Function for hide the row
-----------------------------
function hideRow(row,gv)
{
Row_num = row ;
rows = document.getElementById(gv).rows;
rows[Row_num].style.display='none';
}
Function for Show the row
--------------------------
function ShowRow(row,gv)
{
Row_num = row ;
rows = document.getElementById(gv).rows;
rows[Row_num].style.display='block'
}
Amresh SRank #5,790 · 286 reputationPosted Jun 13, 2017, 2:59 AM EDT
Vivek KumarRank #272 · 9.3K reputationPosted Jun 13, 2017, 4:52 AM EDT