vtfuture / BForms

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

Grid bulk actions check box doesn't show buttons Reset,Enabled, disabled, Delete on checkbox click #257

Closed iswariya7 closed 9 years ago

iswariya7 commented 9 years ago

@( Html.BsGridFor(m => m.Grid) .GridResetButton() .ConfigureBulkActions(bulk => { bulk.AddAction().StyleClass("btn-success js-btn-recommend_selected").Title("Recommend selected").GlyphIcon(Glyphicon.ThumbsUp); bulk.AddAction().StyleClass("btn-warning js-btn-unrecommend_selected").Title("Unrecommend selected").GlyphIcon(Glyphicon.ThumbsDown); bulk.AddAction(BsBulkActionType.Delete);

    bulk.AddSelector(BsBulkSelectorType.All);
    bulk.AddSelector().StyleClass("js-actives").Text("Recomended");
    bulk.AddSelector().StyleClass("js-inactives").Text("Unrecommended");
    bulk.AddSelector(BsBulkSelectorType.None);

    bulk.ForSelector(BsBulkSelectorType.All).Text("All");
    bulk.ForSelector(BsBulkSelectorType.None).Text("None");
 })
stefanprodan commented 9 years ago

Please take a look at the demo site where this function is working properly https://github.com/vtfuture/BForms/tree/master/BForms.Docs

iswariya7 commented 9 years ago

Hi Stefanprodan,

I'm new to github. Can u tell me how could i download and run the above in Visual Studio ??

stefanprodan commented 9 years ago

https://github.com/vtfuture/BForms/archive/master.zip