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 - rrnogal

Pages: [1]
1
There is an example with pq-grid and my example dataModel and colModel:

jsfiddle.net example

someone help me please!

2
Help for ParamQuery Grid (free version) / CheckBox Header doesn't show
« on: September 29, 2016, 03:08:03 am »
Hello!

I'm trying to make a checkbox column but checkbox header doesn't show and when I check a checkbox. browser console throws me next error:

Code: [Select]
TypeError: this.$inp is undefined
My colModel is:

Code: [Select]
{ title: "", type:'checkBoxSelection', sortable: false, align: 'center', dataType: "bool", cls: 'ui-state-default', dataIndx: "state" },
{ title: "Concepto", width: 300, dataType: "string", dataIndx: "Concept", editable: false, sortable: false },
{ title: "Monto", width: 100, dataType: "float", dataIndx: "ConceptPriceTax", editable: false, sortable: false },
{ title: "Fechas de Pago", width: 250, align: "center", colModel:[
    { title: "Inicial", width: 100, dataType: "date", dataIndx: "InitialPaymentDate", editable: false },
    { title: "Final", width: 100, dataType: "date", dataIndx: "FinalPaymentDate", editable: false },
]},

My selectionModel is:
Code: [Select]
selectionModel: { type: "none", cbHeader: true, cbAll: true },

I don't use filtermodel but I use rows grouped.

Someone could help me please?

3
Helo!!

I have a page with jQuery Tabs. I need to display a page that contains a pq-grid for each tab.

My page with tabs code:

Code: [Select]
<div id="concepts_management_tabs" style="min-height:400px; width:800px">
        <ul>
            <li><a href="#concepts_tab">Conceptos</a></li>
            <li><a href="measure_units.php">Unidades de Medida</a></li>
            <li><a href="brands.php">Marcas</a></li>
        </ul>
           
        <div id="concepts_tab"></div>
           
</div>

The files measure_units.php and brands.php are loading the pq-grid script and pq-grid css styles and booth looks similar:

Code: [Select]
<link rel="stylesheet" media="screen" href="../css/jquery-ui.css" />
<link rel="stylesheet" media="screen" href="../css/paramquery/pqgrid.min.css" />
<link rel="stylesheet" type="text/css" href="css/students_styles.css">
   
<script src="../js/pqgrid.min.js"></script>
<script src="../js/localize/pq-localize-es.js"></script>
       
<script src="js/brands.js"></script>

<div id="grid_array"></div>


When I click in a tab, this show me correctly all data, but when I click on second tab, this load the page but the pq-grid script don't seems execute.

I read that I need to refresh the pq-grid on activate tabs method but when I tryed to use ui.newPanel.find('pq-grid'), tis object is void.

Someone can help me please?

Note: Sorry by my bad english

Pages: [1]