Vertical scroll is disables when there are no recods

QuestionsVertical scroll is disables when there are no recods
Akhlad asked 9 years ago

When there are no records and the table has a lot of columns the vertical scroll is disables till you add a row first.

it sometimes is required, for example when someone needs just to look at the column names without adding or when you write in the filters something that is not available in the database and all records disappear, what if the column I just filtered is at the end of the table. Here I cannot reach the filter to clear it.

And please don't suggest to reload the grid because that clears all filters which I don't want to do.

Thanks.

2 Answers
Abu Ghufran answered 9 years ago

Add following css styles on your page:

<style>
table.ui-jqgrid-btable tr.jqgfirstrow td { border: none; }
table.ui-jqgrid-btable { height: 1px; }
</style>

Source: http://stackoverflow.com/questions/9164778/jqgrid-horizontal-scrollbar-is-missing-if-i-search-using-filter-toolbar

Akhlad answered 9 years ago

Thanks for your rapid response.

Your Answer

13 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?