ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: netprw on October 10, 2013, 03:40:37 pm

Title: Header Checkbox column checkedAll
Post by: netprw on October 10, 2013, 03:40:37 pm
Hi,

We have facing issue with PQ-Grid about header checkbox column. We have implement header column with checkbox for check-uncheck all relevant checkbox in row, Its work only for visible records, but when we scroll down content panel, its loose all checked status, that is with open source version of PQ-Grid. 

As you mentioned your website that is pro-version of PQ-Grid checkbox feature, so we have purchased pro-version but we are having same issues.

Actually This kind of structure we have implemented in our whole application & now we are struggling with rendering issues :(

Please refer the attachment for better clarification.

Waiting for positive & quick reply.
Title: Re: Header Checkbox column checkedAll
Post by: paramvir on October 10, 2013, 08:36:45 pm
Peter

This is an implementation issue.

PFA the correct implementation.





Title: Re: Header Checkbox column checkedAll
Post by: netprw on October 11, 2013, 11:36:20 am
Hi Peter,

Thanks for You warm response...!!!

Please, check attached source we are not able to get last checkboxes.

We are more thankful if you are providing Skype id for more conversation.

Regards,
Pintu and Ramesh.
Title: Re: Header Checkbox column checkedAll
Post by: paramvir on October 11, 2013, 03:49:24 pm
Hello guys

Please check attachment in my last email and try to understand the code.

You can't just update the view like this

$("#grid_array").find('input[type=checkbox]').each(function (i,val) {
});

because it would limit you to the checkboxes visible in the viewport only and it won't update your data (state field).

http://paramquery.com/pro/tutorial#topic-design (http://paramquery.com/pro/tutorial#topic-design)

you need to think the other way round and start from updating the data (state field) first