Bootstrap 3

Aug 23, 2013 at 10:15 AM
Hi. I know it is just released but have you any plans to upgrade grid.mvc to use Bootstrap 3 ?

Thanks very much for a brilliant grid!
Coordinator
Aug 23, 2013 at 10:18 AM
Hi,

Yes current repository version already uses Bootstrap 3.0. I have some plans to improve mobile view of the grid, after that I publish release version (in a few weeks)
Aug 23, 2013 at 10:20 AM
Sorry, didn't realize that. Thanks very much.
Aug 26, 2013 at 10:57 PM
Hi. I followed the instructions to manually install from the current repository to test Bootstrap 3. The styles look good except for the paging - they show up as bullets. Have you come across this issue? Thanks.
Coordinator
Aug 27, 2013 at 2:22 PM
Hi,
Because bootstrap 3 has a different styles for pagination.
Bootstrap 3 layout will support by Gri.Mvc 3.0 you can see in current repository version and demo site: http://gridmvc.azurewebsites.net/

If you want to use it with Grid.Mvc 2.3 you need to manually change _GridPager.cshtml according guides: http://getbootstrap.com/components/#pagination
Aug 28, 2013 at 3:19 PM
Edited Aug 28, 2013 at 3:20 PM
Thanks for the reply!!!

When you say current repository, do you mean the Aug 4 BETA or do I have to download the source and compile? The Aug 4 BETA created this for the paging:
<div class="grid-footer">
    <div class="grid-pager pagination">
       <ul>
            <li class="active"><span>1</span></li>
            <li><a href="?grid-page=2">2</a></li>
            <li><a href="?grid-page=2">»</a></li>
       </ul>
     </div>
</div>
The correct Bootstrap 3 is:
<div class="grid-footer">
    <div class="grid-pager">
        <ul class="pagination">
            <li class="active"><span>1</span></li>
            <li><a href="?grid-page=2">2</a></li>
            <li><a href="?grid-page=2">»</a></li>
        </ul>
    </div>
</div>
Coordinator
Aug 29, 2013 at 3:45 AM
I mean codeplex source. I will pusblish release version in a few weeks. You can see how _GridPager.cshtml was changed https://gridmvc.codeplex.com/SourceControl/changeset/26033#GridMvc/GridMvc.Sample/Views/Shared/_GridPager.cshtml
Aug 29, 2013 at 7:38 PM
It was my bad. I hadn't updated _GridPager.cshtml. Thanks for your help!