Is there any way I can freeze first column(always display) while horizontal scrolling?
Asked Answered
S

2

7

Is there any way I can freeze first column(always display) while horizontal scrolling? As displayed in the below picture, I want to show Title column always while scrolling horizontally

Suburbanite answered 30/7, 2015 at 4:21 Comment(1)
it might help to share the html that you use to generate the tableCetane
S
6

Check out the documentation on Pinning: http://ui-grid.info/docs/#/tutorial/203_pinning

You basically add pinning to the module:

var app = angular.module('app', ['ui.grid', 'ui.grid.pinning']);

... and add the pinning directive to your grid element:

<div ui-grid="gridOptions" class="grid" ui-grid-pinning></div>

Shocker answered 6/8, 2015 at 20:39 Comment(0)
S
0

Clickhere Click on the link,the link solved my issue. This is what exactly I was looking for.

Suburbanite answered 30/7, 2015 at 7:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.