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

Pages: [1]
1
Hello Experts,
I have tried the below technique but it doesn't seem to work and its likely because I am still using the old 1.1.3 version.

Code: [Select]
grid.addClass({ rowIndx: rowIndx, dataIndx: dataIndx, cls: 'disabled' });
I am thinking I can get the Cell and then apply some CSS to the cell might work... Kindly let me know how do I achieve this for older version

2
Hello Experts,
I would like to make a cell of Grid either Editable or Read-only based on certain values in other cells.. Please advise on how to achieve this.. so far I have been able to disable a whole column but I need to lock down one specific cell.
Any guidance is very much appreciated.
Best Regards
sids

3
Hello ParamQuery Experts,

I have following code to perform function call when a Row is selected on Grid and I am noticing that this event is getting triggered twice... kindly help me what am I missing and how to resolve this issue.

Code: [Select]
     $(grid).on("pqgridrowselect" , function(event, ui) {
var rowno = ui.rowIndx;
Value = ui.dataModel.data[rowno][1];
RefreshChildGrid();
});

I appreciate any help & guidance.

Regards,
Sidads

4
Help for ParamQuery Grid (free version) / Re: master detail reset
« on: February 18, 2014, 02:24:22 pm »

Hi,

If I understand your question correctly then I had similar scenario and below is what I used to reset the child grid

Please check my code at jsfiddle

http://jsfiddle.net/sidads/3Ws9g/4/


Basically pass empty Data to Data Model and Refresh the grid like below

Code: [Select]
    $("#grid").pqGrid( "option" , "dataModel.data",[] );
$("#grid").pqGrid("refresh");


Hope this helps

Regards,
Sidads

5
Help for ParamQuery Grid (free version) / Re: Remove Rendering from Cell
« on: February 18, 2014, 02:09:18 pm »

I got it working.. and below is what I did,

Instead of explicitly removing the Rendering, I simply updated the DataModel Data with calculated value for cell where I had button element rendered and then called Grid Refresh which automatically invoked the Render callback function but now data is available so it automatically removed the Button element.

Although it works,  just wanted to know if this is the right way of doing it, if not please advise the correct technique

Regards,
Adarsh

6
Help for ParamQuery Grid (free version) / Remove Rendering from Cell
« on: February 18, 2014, 12:51:08 pm »

Hello ParamQuery Experts,

I have a scenario when grid is loaded for first time I will render a cell to show a Button element based on some conditions, but later when User clicks on the button, the button click makes some calculations and returns the value and I need to replace the rendered button with the calculated value.

Please advise how to remove button rendering from cell and make it regular cell with value in it.

Any help/advise is much appreciated.

Regards,
Adarsh

7
Did you try outline. (you may also add it in a class)

Code: [Select]
$tr.css("outline", "1px solid black");

Thank you, the above technique works but when I scroll the css resets back. Please advise how to fix this.

8
Help for ParamQuery Grid (free version) / Re: Set First Visible Row
« on: December 06, 2013, 03:33:47 pm »

Thank you very much, works like charm.

9
Help for ParamQuery Grid (free version) / Set First Visible Row
« on: December 04, 2013, 08:31:10 pm »

Hello,

I have a grid with 20 rows with a vertical scroll bar and of which first 1-10 rows are visible but say I will scroll down to row 15, select it and do something then refresh the Grid, then Grid goes back to scroll from first row but instead can I set the grid to show the 15th row as the first visible row or make grid automatically scroll to 15th row to make it visible.

Please advise.

10

Hello Experts,

How do I change the border color of specific row, I tried using the getRow to get the row object but couldn't find the class that is being used to set the border color of row.

please advise how to achieve it.

Regards,
Sidads

11
Help for ParamQuery Grid (free version) / Check if Grid is destroyed
« on: October 28, 2013, 07:43:05 pm »

Hello Experts,

Please advise how to check if a PQ Grid is Destoryed using Destory() method.

I tried using $("#mygrid").length but it returned non zero value

Any help is much appreciate!

Regards,
Adarsh

Pages: [1]