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.


Topics - Soumya

Pages: [1]
1
Master Grid with Detail grid and columnTemplate on Master Grid destroys Expand button .

When i inspect the arrow element this is what i see <td class="pq-grid-cell pq-cell-select ui-state-highlight" pq-col-indx="0" tabindex="0">[object Object]</td>

I am suppose to see <div class="ui-icon ui-icon-triangle-1-e"></div> in the place of [object Object].

This started happening once i set the columnTemplate: { render: commentRender }, in Master Grid Object.

Please see the attached screen shot for more in detail.

2
Hi,

I am following the pro demo for in line editing.

i have the below code for editrow

 function editRow(rowIndx, $gridMain)
            {
                //debugger;
                $gridMain.pqGrid("addClass", { rowIndx: rowIndx, cls: 'pq-row-edit' });
                $gridMain.pqGrid("editFirstCellInRow", { rowIndx: rowIndx });

                //change edit button to update button and delete to cancel.
                var $tr = $gridMain.pqGrid("getRow", { rowIndx: rowIndx }),
                    $btn = $tr.find("button.edit_btn");
             
                $btn.button("option", { label: "Update", "icons": { primary: "ui-icon-check" } })
                    .unbind("click")
                    .click(function (evt)
                    {
                        evt.preventDefault();
                        return update(rowIndx, $gridMain);
                    });

                $btn.next().button("option", { label: "Cancel", "icons": { primary: "ui-icon-cancel" } })
                .unbind("click")
                .click(function (evt)
                {
                    $gridMain.pqGrid("quitEditMode")
                        .pqGrid("removeClass", { rowIndx: rowIndx, cls: 'pq-row-edit' })
                        .pqGrid("rollback");
                });

             
            }

for some reason I can only Update button and not the cancel button in the row.
can you guide if i am missing something here.

3
Bug Report / Detail grid with tabs and first tab doesn't expand
« on: December 20, 2014, 02:06:52 am »
Detail Grid with tabs and the first tab doesn't expand on expanding the arrow to expand. It expands when revisiting first tab after visiting another tab.

I have the code

 $detail.find(".pq-tabs").tabs().on("tabsactivate", function (evt, ui)
                    {
                        $contactsgrid.pqGrid("refreshView");
                        if (ui.newPanel.is("#contacts")) {
                            $contactsgrid.pqGrid("refresh");
                        }
                        if (ui.newPanel.is("#holdings")) {
                            $holdingsgrid.pqGrid("refresh");
                        }
                        if (ui.newPanel.is("#comments")) {
                            $commentsgrid.pqGrid("refresh");
                        }
                        if (ui.newPanel.is("#documents")) {
                            $documentsgrid.pqGrid("refresh");
                        }
                    });

but contactsGrid doesn't expand when hit the arrow to expand .

4
Hi Param,

I have a Grid which has a grid detail in it . The inner grid has Records per page drop down and it doesn't work in Firefox. The drop down is frozen and doesn't allow the user to select number of records per page to change. I can only use Next page buttons to traverse.

Let me know your thougths.


5
Bug Report / grid with Selection Mode Single has check box
« on: December 18, 2014, 02:41:35 am »
Hi Param,

I have grid whose selection Mode is  selectionModel: { type: 'row', cbHeader:false, mode: 'single' },

I have check box with cb header false

 title: "Select", dataIndx: "Transition", width: 50, editable: false,align: "center", type: 'checkBoxSelection', cls: 'checkboxColumn', resizable: false,
        cb: { all: true, header: false }

I was able to select single row at a time on check box click . I check the box on row 1 and the entire row's get selected which is what i need. Now i select second row 2 which deselects previous row 1 but the check box still stays checked .

I am trying to achieve Single row selection using checkbox. It used to work before i upgraded to 2.3.0.

Please provide some insight.

thanks

6
Help for ParamQuery Pro / Master detail issue with new version 2.0.4
« on: March 07, 2014, 04:15:37 am »
With the new Version 2.0.4
I am having issue with the master detail.
I have implemented the same way as in our demos for pro master detail.
With datamodel location : local and ajax call.

If i change the Master datamodel Location to remote it works.

And are the demos in pro updated to use the new Version?

Below is the error
Uncaught TypeError: Cannot call method 'children' of null

happens at PqGrid.dev.js
_pHierarchy.detachInitView = function(evt, ui) {
      var that = this.that,
         data = that.data;
      var $trs = that.$tbl.children("tbody").children("tr.pq-grid-row");

2. Filter doesnt work for master detail on master data.

Can you post a working demo for Master Detail with filter on Master data?

Thanks

7
Help for ParamQuery Pro / 2 checkbox columns in PQGrid
« on: February 12, 2014, 11:53:56 pm »
Is it possible to include two check box columns in the column model?
right now i am able to add only on check box column.

 var colM = [
            { title: "InvestmentID", width: 60, dataIndx: "InvestmentID" },
            { title: "Fund Name", width: 320, dataIndx: "FundName" },
            { title: "Company FundCode", width: 120, dataIndx: "CompanyFundCode" },
            { title: "Amount", width: 120, dataIndx: "AUM", dataType: "decimal" },
            { title: "Fund Characteristics", width: 110, dataIndx: "FundCharacteristic", dataType: "string" },
            { title: "IsSuspenseFund", dataIndx: "IsSuspenseFund", width: 50, align: "center", type: 'checkBoxSelection', cls: 'checkboxColumn', resizable: false },
            { title: "QDIA", dataIndx: "IsQDIA", width: 30, align: "center", type: 'checkBoxSelection', cls: 'checkboxColumn', resizable: false }
            ];
Below is the error i get when using 2 check box columns in one PQGrid
Uncaught TypeError: Cannot set property 'IsSuspenseFund' of undefined .

8
Help for ParamQuery Pro / Export To CSV doesn't append Summary row
« on: November 13, 2013, 02:52:13 am »
Export To CSV works fine for all the content. But when there is a Summary row similarly to http://paramquery.com/demos/summary , summary row is not appended in the CSV/Excel.

9
Help for ParamQuery Pro / Parent Child rows
« on: November 11, 2013, 11:45:15 pm »
Is it possible to have parent with children rows using ParamQuery Similary to http://www.pengoworks.com/workshop/jquery/tablesorter/tablesorter.htm

Pages: [1]