Skip to content

Replies

0
dhanraj shriyan
dhanraj shriyan answered on Oct 3, 2012 7:29 PM

Hi Martin, Your responses were indeed helpful. Thanks a lot.

0
dhanraj shriyan
dhanraj shriyan answered on Oct 2, 2012 8:01 PM

Hi Martin,

Seems like some problem with browser cache. I restarted my machine for some issue and now pager is working fine.

 

But now I got into another problem. The grid headers are getting scrolled. I want them to be fixed and visible always, but they get scrolled along with records.

Is there any way to stop it ??

 

0
dhanraj shriyan
dhanraj shriyan answered on Oct 2, 2012 3:40 PM

The grid header size is fixed. But I am facing an issue with pager.

If am adding type to pager, the grid is not getting rendered at all:

features.Paging().PageSize(50).Type(OpType.Local); 

 

 

0
dhanraj shriyan
dhanraj shriyan answered on Oct 2, 2012 2:44 PM

Hi Martin,

I have added the CSS mentioned by you, but that only solves the problem partially.

The grid Body is now showing auto column cell data, but the headers are still shrinked.

Additionally as suggested by you I have made FixedHeaders = false :

@(Html .Infragistics() .Grid<Measure>(measurements.AsQueryable()) .ID(“mGrid”).AutoGenerateColumns(true)

.FixedHeaders(false)

.Features(features => { features.Paging().PageSize(50).TotalRecordsCount(measurements.Count);

features.Resizing();

})

.Virtualization(true)

.VirtualizationMode(VirtualizationMode.Continuous)

.Height(“600px”)

.DataBind()

.Render() )

 

Please let me know if I am missing anything here.