Hello All,
I am facing one issue while working on the Freeze column functionality on the UltrawebGrid.
Current Scenario:
Scenario 1:
Current Behavior
Total Three Columns : Col 1, Col2 and Col3. Now when i freeze Column 3 then it moves to first position and column 2 and column 3 are at position 2nd and 3rd respectively.
My Requirement
As per my requirement Col 1 and Col 2 and Col3 should all freeze without changing theri original position. i.e don't move when i am freezing column 3.
Scenario 2:
Total Three Columns: Col 1, Col 2 and Col 3. If as per above all three are freezed with theri original position ( i.e without moved) then when i try to de-freeze Col 2 then Col 2 and Col 3 both should get de-freeze and Col 1 shoudl remain freeze.
Please let me know the solution as early as possible if its possible to support this functioanlity using Infragistic grid.
Thanks in advance,
--Sonu.
Hello Sonu,
Thanks for writing. Yes, I think we have something similar to what you need - we call it Fixed Headers. You can set the DisplayLayout.UseFixedHeaders property to true and then the Headers of the columns you want "frozen". Example and sample code can be found in the following forum thread:
http://forums.infragistics.com/forums/t/7929.aspx
Hello,
Thanks for answer. But i think you did not understood my question. My question is when the user will click on any column on the infragistic grid then at run time all the left columns should be freezed and all the right columns should be unfreezed. and i am not getting any particular even on getting the index of the column where the user clicked on the Pinbox for freezing the column. So is there is any way that when the user click on any column then instead of moving the column here and there, we just fix the column at its original position only and making all left side freeze as well and when user unfreeeze that column then making all right side unfreeze.
please let me know the solution and refer my question again above.
Thanks.