Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Panel Tables with Filter"
Bootstrap 3.3.0 Snippet by
mdb-webdev
3.3.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
1.3K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h1>Click the filter icon <small>(<i class="glyphicon glyphicon-filter"></i>)</small></h1> <div class="row"> <div class="col-md-6"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Developers</h3> <div class="pull-right"> <span class="clickable filter" data-toggle="tooltip" title="Toggle table filter" data-container="body"> <i class="glyphicon glyphicon-filter"></i> </span> </div> </div> <div class="panel-body"> <input type="text" class="form-control" id="dev-table-filter" data-action="filter" data-filters="#dev-table" placeholder="Filter Developers" /> </div> <table class="table table-hover" id="dev-table"> <thead> <tr> <th>#</th> <th>First Name</th> <th>Last Name</th> <th>Username</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Kilgore</td> <td>Trout</td> <td>kilgore</td> </tr> <tr> <td>2</td> <td>Bob</td> <td>Loblaw</td> <td>boblahblah</td> </tr> <tr> <td>3</td> <td>Holden</td> <td>Caulfield</td> <td>penceyreject</td> </tr> </tbody> </table> </div> </div> <div class="col-md-6"> <div class="panel panel-success"> <div class="panel-heading"> <h3 class="panel-title">Tasks</h3> <div class="pull-right"> <span class="clickable filter" data-toggle="tooltip" title="Toggle table filter" data-container="body"> <i class="glyphicon glyphicon-filter"></i> </span> </div> </div> <div class="panel-body"> <input type="text" class="form-control" id="task-table-filter"/> </div> <table class="table table-hover" id="task-table"> <thead> <tr> <th>#</th> <th>Task</th> <th>Assignee</th> <th>Status</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Site Wireframes</td> <td>John Smith</td> <td>in progress</td> </tr> <tr> <td>2</td> <td>Mobile Landing Page</td> <td>Kilgore Trout</td> <td>completed</td> </tr> <tr> <td>3</td> <td>Add SEO tags</td> <td>Bob Loblaw</td> <td>failed qa</td> </tr> <tr> <td>4</td> <td>Migrate to Bootstrap 3</td> <td>Emily Hoenikker</td> <td>in progress</td> </tr> <tr> <td>5</td> <td>Update jQuery library</td> <td>Holden Caulfield</td> <td>deployed</td> </tr> <tr> <td>6</td> <td>Issues in IE7</td> <td>Jane Doe</td> <td>failed qa</td> </tr> <tr> <td>7</td> <td>Bugs from Sprint 14</td> <td>Kilgore Trout</td> <td>completed</td> </tr> </tbody> </table> </div> </div> </div> </div>
.row{ margin-top:40px; padding: 0 10px; } .clickable{ cursor: pointer; } .panel-heading div { margin-top: -18px; font-size: 15px; } .panel-heading div span{ margin-left:5px; } .panel-body{ display: none; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76