0

부트 스트랩 테이블에서 다중 열 값을 검색하려고합니다. 이에 대한 코드가 있습니다.부트 스트랩 데이터 테이블 검색 기능

예를 들면 다음과 같습니다.

https://datatables.net/examples/plug-ins/range_filtering.html

I는 다음과 같이 검색을 원하지만 난 아무것도 찾을 수 없습니다. 서버에 데이터 입력을 게시하고 LİKE에 대한 SQL 쿼리를 작성할 수 있습니다. 그러나 그것은 구체적이지 않습니다. 그것에 대해 예제가 있습니까?

좋은 일 :)

내 페이지의 스크린 샷 enter image description here

내 테이블 소스 코드

<div class="table-responsive " style="height: 400px; overflow-y: auto;"> 
       <table id="tablo_icin2" class="table table-bordered table-hover table-striped"> 

       <thead> 
       <tr> 
        <th> 
        <span class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></span> 
        </th> 
        <th>User Name</th> 
        <th>Password</th> 
       </tr> 
       </thead> 

       <tr> 
       <td></th> 
       <td>Mark</th> 
       <td>123</th> 
       </tr> 

       </table> 
      </div> 

답변

1

당신은 부트 스트랩에 대한 플러그인으로 bootgrid을 이용하실 수 있습니다에게 되세요.

enter image description here http://www.jquery-bootgrid.com/Examples

+0

이이 밤은 소스 코드 –

+1

시작 예에 .Click 있습니다. 아래에서 HTML 및 JS 코드 탭을 찾을 수 있습니다. –

관련 문제