loicfrering / backbone.datagrid

A powerful component, based on Backbone.View, that displays your Backbone collections in a dynamic datagrid table.
http://loicfrering.github.io/backbone.datagrid/
MIT License
55 stars 14 forks source link

Update pagination html markup to correspond to Bootstrap 3 #34

Open gtzoganis opened 10 years ago

gtzoganis commented 10 years ago

Hi,

Although nowhere referenced in the readme, it seems to me that the generated html follows the bootstrap directives. I was using Bootstrap 2.3.2 in my project and it was working fine.

However, the html produced for the pagination controls in no longer works in Bootstrap 3. Specifically, the pagination classname should be assigned to the <ul> itself, not the surrounding div. To center the pagination controls you could simply add the text-center class in the surrounding div.

Is upgrading this part of Backbone Datagrid something you would consider?