dudapiotr / ZfTable

*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
http://dudapiotrek.laohost.net/
MIT License
75 stars 59 forks source link

keeps loading #39

Closed ManagementEngine closed 9 years ago

ManagementEngine commented 9 years ago

Hi,

UPDATE: so the problem was that jQuery.ajax callbacks where not being called. Not sure exactly why but disabling the module ZfSnapPhpError fixed it

i have everything set up, the base example works. Now i try to create a table with doctrine, all seems to be ok but the table keeps showing the loader. I checked what events are called in javascript and it does the following: onInit beforeSend

so i checked the ajax call headers: Remote Address:127.0.0.1:80 Request URL:http://localhost/contact/client/ajaxTable Request Method:POST Status Code:200 OK result:

<div class="zf-table-wrap  form-inline">
    <div class="table-header">
    </div>
    <div class="row ">
        <div class="col-sm-6 pull-left">
                            <header>
                    <h4>Doctrine 2</h4>
                </header>
                    </div>
            </div>
    <table  class="table table-bordered table-condensed table-hover table-striped dataTable"><thead><tr><td></td><td><input type="text" name="zff_name" class="filter&#x20;form-control" value=""></td></tr><tr class="zf-title"><th  data-order="asc" data-column="id" width="50" class="sorting sortable" >Id</th><th  data-order="asc" data-column="name" class="sorting sortable" >Name</th></tr></thead><tr  class="zf-data-row"><td  >1</td><td  >test </td></tr></table>    <div class="row">
        <div class="col-sm-6 text-left">
                            <label class="pull-left">
                    <select class="itemPerPage form-control">
                                                                                <option "">5</option>
                                                                                <option selected="selected">10</option>
                                                                                <option "">20</option>
                                                                                <option "">50</option>
                                                                                <option "">100</option>
                                            </select> 
                </label> 
                              </div>
        <div class="col-sm-6 text-right">
                            <div class="dataTables_paginate paging_bootstrap pagination">
                        <ul class="pagination">
        <li class="disabled">
            <a data-page="1" href="">&laquo;</a></li>
        <li class="disabled">
            <a data-page="" href="">&lsaquo;</a></li>

        <!-- Numbered page links -->
                    <li class="active">
                <a data-page="1" href="">
                    1                </a>
            </li>
                <!-- Next page link -->
        <li class="disabled">
            <a data-page="" href="">&rsaquo;</a></li>
        <!-- Last page link -->
        <li class="disabled">
            <a data-page="1" href="">&raquo;</a></li>
    </ul>
                </div>
                    </div>
        <div class="processing">
        </div>
    </div>
    <div class="params-wrap">
    <input type="hidden"  name="zfTablePage" value="1" />
    <input type="hidden"  name="zfTableColumn" value="" />
    <input type="hidden"  name="zfTableOrder" value="asc" />
    <input type="hidden"  name="zfTableQuickSearch" value="" />
    <input type="hidden"  name="zfTableItemPerPage" value="10" />
    </div>
</div>

am i missing something?

Thanks