TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
padmapriya patruni
NA
74
117.5k
how to hide the column using jqgrid
Jul 4 2014 7:55 AM
else if (Model.PaperCategoryTypeId==5)
{
<span class="btn btn-info btn-sm tooltip-info btn-block" data-rel="tooltip" data-placement="bottom" title="" data-original-title="Bottm Info" style="text-align: left; margin-left: 0px; margin-bottom: 2px;">@Resources.Legislative.Committees
</span>
}
now my question is if PaperCategoryTypeId==5 .i need to hide the column name i wrote like below code but it is not working plz help me
jQuery(document).ready(function () {
alert("start");
var papercategory = $('#PaperCategoryTypeId').val();
alert(papercategory);
if (papercategory == 5) {
$("#CommonGrid").hideCol("CommonNumberForAll");
}
else {
$("#CommonGrid").showCol("CommonNumberForAll");
}
Reply
Answers (
1
)
Reg:JQUERY
filter number in grid