Frozen Column default state

QuestionsFrozen Column default state
Abed asked 10 years ago

Hello,

Thank you for the great job you have done with the grid. I am more interested everyday.

I have added frozen column to my grid. There are some options that I looking for:

1. When the page is loaded the first column is frozen, and by clicking on Freeze button in the footer it defreezes. Is there any way to set default to not to freeze the column and then when clicking on the button it freezes.

2. When freezing the column and trying inline edit/add the height of the frozen column doesn't change with the size of other field. Is there any solution for this issue too?

Thank you.

1 Answers
Abu Ghufran answered 10 years ago

Hi,

I just emailed you a demo that addresses both points.
first is handled using css addition, and second using js.

1)
<style>
/* fix for freeze column div position */
.ui-jqgrid .editable {margin: 0px;}
</style>

2)
jQuery('div.frozen-div, div.frozen-bdiv').toggle();

Your Answer

19 + 19 =

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?