vtfuture / BForms

Bootstrap Forms for ASP.NET MVC
MIT License
62 stars 33 forks source link

Rewrite grid helpers to support more than 12 columns #210

Closed lvv83 closed 9 years ago

lvv83 commented 9 years ago

Maximum width of columns in the grid limited by 12 (bootstrap layout). This is huge limitation! Domain model affected by css framework!

BForms grid helpers should use table tag Column width units should support pixels or percents

Look at GridMVC for example.

stefanprodan commented 9 years ago

BForms is based on Twitter Bootstrap, the 12 col limitation is by design (we even throw an exception to impose it). We made this framework with mobile first in mind, switching to tables and dropping bootstrap css is out the question. GridMVC looks nice on desktop and it's more suitable to display excel sheets, our goal is different.

lvv83 commented 9 years ago

Ok. What about something like renderMode? Default value will generate bootstrap markup without any breaking changes. Another value will generate markup on tables.