GIJGO
Run Example
Close Window
<!DOCTYPE html> <html> <head> <title>Format jQuery Grid Cells</title> <meta charset="utf-8" /> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/gijgo.min.js" type="text/javascript"></script> <link href="https://unpkg.com/gijgo@1.9.14/css/gijgo.min.css" rel="stylesheet" type="text/css" /> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="container-full"> <div class="row"> <div class="col-xs-12"> <table id="grid"></table> </div> </div> </div> <script type="text/javascript"> $(document).ready(function () { $('#grid').grid({ dataSource: '/Players/Get', primaryKey: 'ID', selectionType: 'checkbox', uiLibrary: 'bootstrap', columns: [ { field: 'Name' }, { title: 'Place Of Birth', field: 'PlaceOfBirth', align: 'right', width: 300 }, { title: 'Date Of Birth', field: 'DateOfBirth', type: 'date', width: 120, align: 'right' } ], pager: { limit: 5 } }); }); </script> </body> </html>