Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hkosmidi

Pages: [1]
1
Help for ParamQuery Pro / Re: Show differnet pqGrid in same div
« on: May 06, 2015, 03:41:03 pm »
It's quite difficult to reproduce a jsfiddle, so can you tell me which is the prefered methid to do such a thing?

2
Help for ParamQuery Pro / Show differnet pqGrid in same div
« on: May 06, 2015, 01:47:19 pm »
I have a question which I thought it was easy, but it seems I am missing something.

I have two buttons which load different type of data. I want to use the same div for output and the grid to be overwritten. The js code is:
Code: [Select]
$('#btnSubmit').on('click', function () {
            gridType = gridType || 'daily';

            if (grid != null && gridType == 'daily')
                $("#detailsGrid").pqGrid("refreshDataAndView");
            else
                grid = $("#detailsGrid").pqGrid(detailsGrid);
            //
            gridType = 'daily';
        });

        $('#btnSubmitMonthly').on('click', function () {
            gridType = gridType || 'monthly';

            if (grid != null && gridType == 'monthly')
                $("#detailsGrid").pqGrid("refreshDataAndView");
            else {
                if (grid != null)
                    $("#detailsGrid").pqGrid("destroy");
                //
                grid = $("#detailsGrid").pqGrid(monthlyDetailsGrid);
            }
            //
            gridType =


The error is:
Uncaught Error: cannot call methods on resizable prior to initialization; attempted to call method 'option'

It seems a jquery error but it is produced when the following code occurs:
Code: [Select]
$("#detailsGrid").pqGrid("destroy");
grid = $("#detailsGrid").pqGrid(monthlyDetailsGrid);

what is the error?
thanks

3
Help for ParamQuery Pro / Re: Missing buttons in pager
« on: April 30, 2015, 01:36:56 pm »
thanks.

Copying from the link you gave this did the trick

Quote
Wow. I found the solution!
add after bootstrap.js
$.fn.bootstrapBtn = $.fn.button.noConflict();

4
Help for ParamQuery Pro / Missing buttons in pager
« on: April 30, 2015, 12:32:20 pm »
I have included both css (jquery ui, pqgrid) files but cannot see pager buttons for next/previous page.

My pager div is as follows

Code: [Select]
<div class="pq-grid-footer pq-pager">&nbsp;<button type="button" title="Πρώτη σελίδα"></button><button type="button" title="Προηγούμενη σελίδα"></button><span class="pq-separator"></span><span class="pq-page-placeholder"><span>Σελίδα</span><input type="text" tabindex="0" class="ui-corner-all"><span>από</span><span class="total">2</span></span><span class="pq-separator"></span><button type="button" title="Επόμενη σελίδα"></button><button type="button" title="Τελευταία σελίδα"></button><span class="pq-separator"></span><span class="pq-page-placeholder"><span></span><select class="ui-corner-all"><option value="10">10</option><option value="20">20</option><option value="50">50</option><option value="100">100</option></select><span class="pq-separator"></span></span><button type="button" title="Ανανέωση"></button><span class="pq-separator"></span><span class="pq-pager-msg">Εμφάνιση 1 εως 20 από 39 εγγραφές.</span></div>
In the tutorials I see pages has other classes and spans for the buttons. Am I missing something?

Thanks

Pages: [1]