Reputation: 387
I'm fairly new to jqGrid and was wondering how to format the entire jqgrid to be in the center of the page. I read here where they suggested including a snippet of code in the jqgrid css file but when I tried that the grid is not responsive to any changes I make.
I was wondering if there was a different way to center the grid on the page.
Thanks in advance
Upvotes: 1
Views: 3814
Reputation: 2087
By Center entire grid on page, I guess you want to position the grid to center of the page and not align the text centered in the grid, if so, Just wrap your <table>
tags in a <div>
tag, and use align=center
like,
<div align="center">
<table id = "jQGrid"></table>
</div>
Hope i didn't misunderstand your question.
Upvotes: 4