Open tomchen618 opened 9 years ago
Can you please share a jsfiddle. http://jsfiddle.net/paramquery/bphnecvm/ Thanks
I use ajax to call a page contains 2 pqgrid.
Both pqgrid have no columns heads.
$.ajax({ mimeType: 'text/html; charset=utf-8', // ! Need set mimeType only when run from local file url: "home/pqdataFilter", type: 'GET', data: { asfilterid: filterid, asviewmodelname: filterviewmodel }, success: function (data) { $('#ajax-modal').html(data); $('#ajax-modal').modal().css({ width: 'auto', 'margin-left': function () { return -($(this).width() / 2); } });
},
error: function (jqXHR, textStatus, errorThrown) {
alert(errorThrown);
},
dataType: "html",
async: false
});
<div class="modal-body">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">Filter
Condition
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab1">
<div>
<br />
<div class="form-group">
<label for="filtername" class="col-xs-3
control-label"> @Model.getCultureStr("Filter Solution:")
</div>
</div>
<div class="form-group">
<div id="grid_solutions" class="col-xs-3">
</div>
<div id="grid_main" class="col-xs-8 pq-grid
ui-widget ui-widget-content ui-corner-all ui-resizable">
Setting show styles
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn btn-app"
id="closefilter">Close
</div>
</div>
On Tue, Aug 11, 2015 at 7:19 PM, Paramvir Dhindsa notifications@github.com wrote:
Can you please share a jsfiddle. http://jsfiddle.net/paramquery/bphnecvm/ Thanks
— Reply to this email directly or view it on GitHub https://github.com/paramquery/grid/issues/85#issuecomment-130137168.
Initialize or refresh the grid in shown.bs.modal event.
Refresh
On Tue, Oct 20, 2015 at 2:45 AM, Paramvir Dhindsa notifications@github.com wrote:
Initialize or refresh the grid in shown.bs.modal event.
— Reply to this email directly or view it on GitHub https://github.com/paramquery/grid/issues/85#issuecomment-149498061.
I try to use pq grid in my modal div. but there is no column title showing.