AngularJS CRUD Grid v5: Now with Dynamic Columns

I just added support for dynamic columns. Before you were limited to Id and Name, now you can specific the columns as a Json object in the directive.

<div crud-grid table='person' columns='[&#123;"name":"Id", "class":"col-md-1", "autoincrement": "true"&#125;, &#123;"name":"Name"&#125;]'></div>

name: The name of the column. Must match the column name in your db
class: The css class that you want to be applied to that column TH tag
autoincrement: Set to true if you don’t want the user to set. Useful for columns that are autoincremented primary keys.

CODE: https://github.com/jongio/AngularJS-WebApi-EF

Enjoy!

Jon