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

Pages: [1]
1
Help for ParamQuery Grid (free version) / How to do server side pagination?
« on: September 28, 2016, 10:42:03 am »
Hello sir,
I want to fetch the data from database  on every click of next page button which is available on grid.
So If I have 10,000 records, first I will fetch 100 hundreds records for the first time. Next time I click on 'next page button', it should work like - it will give the call of ajax to the controller and gives response back to the user of suppose next 100 records from the database. This all should happen without knowing the user that it is coming from server.
Please tell me how to do this ?
I have referred this link   -  http://paramquery.com/demos/paging
But only once it gives the call to the server and fetch entire data from it.
Please help me.

2
Help for ParamQuery Grid (free version) / How to make pqgrid responsive?
« on: September 19, 2016, 07:26:12 pm »
Hello sir,

I have question : -
I want to make pqgrid responsive? How can I make it ?
Does pqgrid support bootstrap responsive ?
Is there any running sample code for pqgrid which supports bootstrap responsive ?

Please reply. I am waiting for your kind response.

3
Sir, I am waiting for your reponse.

4
I have tried with your code as below:
{ title: "Status", dataIndx: "statusDataIndx, width: 120,
                editor: {
                    type: autoCompleteEditor
              },

Then I have declared as follows :
var autoCompleteEditor = function (ui) {
            //debugger;
            var $cell = ui.$cell,
                rowData = ui.rowData,
                dataIndx = ui.dataIndx,
                width = ui.column.width,
                cls = ui.cls;
            var dc = $.trim(rowData[dataIndx]);

            var $inp = $("<a href='#' id='myLink' class='MyClass'>"+rowData[17]+"</a>")
                .width(width - 6)
                .appendTo($cell)
                .val(dc);
      }

but I am not able to see any effect on that particular column except editor : textBox
.
Please tell me where I am wrong.

5
I have tried as per you said. I have tried it using flexwidth:true and flexHeight : true
And I am following this link : http://paramquery.com/demos/resizable_popup.
As there are two div's, thus I am getting problem of dynamic width and height which I am not able to implement.
i have attached the image. Please see this image, I want to remove that space which is coming below the number of rows.
it is highlighted in red color.
Image description:-
Th image is of pop up .
The status written is my title of the pop up.
'1'indicates is my row.
white space is column header/column names.
And the red highlighted one is extra space coming in below the rows.

6


Hello sir,

I am using pqgrid pop up functionality.
when i click on button, pop up comes.
But this pop up always comes in center of the window.
How to get it to the middle of the window ?
Which css stylesheet i have to apply ?

My 2nd issue is I want height and width of popup grid dynamic.
Whatever data I want to display on pop up grid, it is not fixed number of rows. What is happening now : - i have specified width and height of pop up grid, so, if there are 2rows, it will display properly, but then below the rows, it shows the grid in gray color as there are no further records.
please help me out for both the issues.

7

Hello sir,

I have question and need your help.

When I click on edit button,
one particular column should have hyperlink,
that is, I want hyperlink in edit mode.
it is coming when there is display view of the grid.

In this hyperlink, I have pop up. Pop up comes, then I update some fields on grid on pop up itself. Then I call to API "updateRow"...
Even the row is also getting updated. But then some fields on grid are getting disabled which should not be. Because I am not editing every column of grid on pop up..

Please reply with your kind help.
Awaiting for your response.

8
Hello sir ,
Thank you for kind reply..
but i have one question, what if i dont have dataIndex?
What should  have take instead of dataIndex..?
awaiting of your reply..

9

Hello sir,

I m facing an issue of editable and non-editable on particular column while editing that row.
I have two consecutive drop downs
my case is:-
if i am selecting one particular value from first dropdown, so on selecting one specific value/keyword(special word in my functionality) then second dropdown should be disabled while editing only . And if i am selecting normal value from first dropdown then second dropdown should be enable.
For example:-
First dropdown values - a, xy ,c
second dropdown values- 1,100,3

Here in above example, xy is my special word.
If i select 'xy' from first dropdown then my second dropdwon should be runtime disable. And
if i select 'a' or 'c' then my second dropdown should be enable.

i have tried this following code: -
if(rowData[colm_number] == 'xy'){
colM.editable[colm_number+1] = false;
}

This code i have tried in function editing() and update(),
but above code is not working in both functions.

Please give me way to solve the problem.
i am in a need of solution.

Most awaiting for your kind words of reply.

10
Bug Report / cannot read property children of null
« on: February 29, 2016, 07:18:49 pm »
I m using row detail hierarchy. but i m not getting detail model display. I have written var colM and separately declaring var data to it. And in dataModel, i added 'data: data', . Similarly, I have added var childData for gridDetailModel and put 'data:childData' into it. and if I write location: remote or local in both the places, it only shows main grid and not the detailModel. But, if I write type:"detail" in colM, it gives an error, says cannot read property 'children' of null. Remaining is everything ok in code.I have verified from "http://paramquery.com/demos/detail" this. Actually I m not getting "ui-icon-triangle-1-e" this symbol in main grid so that I can expand it to see it detail grid. If i write "type: detail" , and location is remote i both the places, it says "no rows to display". I m working on this from last 5days. Please help me.

Pages: [1]