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

Pages: [1]
1
Help for ParamQuery Pro / numbercell start with 0
« on: September 25, 2014, 09:43:13 am »
Hi there!!
I'd like to use number cell start with 0, not 1.
I'm wondering this is possible or not.
Are there any options?

Thank you every time!!!

2
Help for ParamQuery Pro / Re: what is customData? How is it working?
« on: September 16, 2014, 08:03:15 am »

I just want to add comment with this...

'customData' in here..
It's not by myself.. you can see that example, this is paramquery's regular demo..
That's why I ask..

please consider this...

3
Help for ParamQuery Pro / what is customData? How is it working?
« on: September 15, 2014, 06:15:50 am »
Hi! Paramquery!
Thank you always!

I just followed search example. (http://paramquery.com/demos/search)
Then I found 'customData' option, I couldn't understand how it is working.

When put the data using customData option.. like this..
$grid.pqGrid("option", "customData", { foundRowIndices: this.rowIndices, txt: txt, searchColIndx: colIndx });

But I couldn't see any customData.. in each row.
And I also couldn't find any information in docs..

please let me know...

4
Help for ParamQuery Pro / selection when grouping
« on: September 09, 2014, 07:59:10 pm »
Hi there!

how to set a grouped row using outside action like button?
I know how to set a row selection but I couldn't find when grouping, how to set a grouped row?
I mean not lower level rows. just grouped level rows itself.

so for example..

$grid.pqGrid("addClass",{ rowIndx:2, dataIndx:'id', cls:'cellRed' });
or
$grid.pqGrid("setSelection", { rowIndx: 2 });

with this.. I can select lower level rows.. but it's not working collapsed grouping row itself.
I tried to look for this example.. but I couldn't find..

I always appreciate your reply! Thank you!

 

5
Thanks! I appreciate this!!

6
Thanks for your reply..

But I tested...
Now I understood What options I did.
It's about the option of 'collapsed'

I made this example on jsfiddle.
http://jsfiddle.net/methney/q106rwh8/

When to push the toggle buttom having option of 'collapsed:true', it didn't make any normal rows.
But I changed the option of groupModel.collapsed : false, it worked!
I think it has problem with groupModel.collapsed:true. It's not working!
please consider this!!

thanks for your quick help! I appreciate this!!

7
Hi there!

I'm using groupModel. I got reference from grouping demo (http://paramquery.com/pro/demos/group_rows)

And I have a select box to choice view type.
One is grouping as default, the other is 'not grouping' (just sequential order)

but when to change to 'not grouping', here is my code

$("#grid_group_rows").pqGrid("option", "groupModel", null);
$("#grid_group_rows").pqGrid("refresh");

when executing this, there are no rows left at all.
Data are totally dispeared..

So I just tried several ways..
refresh, refreshView, refreshDataAndView..

I have used same data with this example but, I tried to load data again. looking for way around...

$("#grid_group_rows").pqGrid("option", "dataModel", {data:dataModel});
$("#grid_group_rows").pqGrid("option", "title", "Log View");
$("#grid_group_rows").pqGrid("option", "groupModel.collapsed", [false]);
$("#grid_group_rows").pqGrid("option", "groupModel", null);
$("#grid_group_rows").pqGrid("refresh");

The reason I used 'groupModel.collapsed:false' is..
It worked when data are opened (grouping mode) before I choose view type to 'not-grouping' in selectbox.
Then I change mode to 'not-grouping', And finally I could see data.
I think It redrew just in opened row.

And I also think it's not working when setting 'null' as groupModel..
I have just wasted my time since yesterday. please give me help.
If there any specific example helping me, send me please.

Pages: [1]