Hello Tony,
Thank you for your response.
I mean I ussualy use reset filter toolbar to clear my searching and reload grid. If I have change search operators, I want to return the operators to default (==) when I click reset filter toolbar.
Regards,
Candra
Dear Tony,
I have problem here, I checked loading time of my grid with firebug.
Loading time of jqgrid is OK, but loading time of dropdown toolbar searching feature is take about 5 seconds to open.
May be you have a better solution for me. Could you help me please?
Regards,
Candra
Dear OlegK,
I have tried but nothing happend. I think the problem is on event change function.
dataEvents: [ {
Dear OlegK,
Excuse me, where should I put the recreateForm:true? I am sorry I don`t understand
Best Regards,
Candra
Dear OlegK,
I am sorry for bothering you. I really appreciate your help so far. Please apologize my fault and please check my code:
jQuery(document).ready(function(){
Dear OlegK,
could you help me, please? Don`t leave me here
Candra
Dear OlegK,
Happy New Year too guys.
Yes, that works. awesome but I found a new problem here.
If I choose USA of country select dropdown, the city select dropdown should consist of New York and Washington.
From here, I cann`t use multiple search. If I choose New York of city select dropdown, the contry select dropdown will change to 'All'.
How to keep the value of country select dropdown just like the original multiple search from jqgrid demo?
Thank you OlegK, you have spent a lot of your time for me.
Best Regards,
Candra
Dear OlegK,
I have not succeeded yet to do your guide.
I see that if I change country of select dropdown to 'All', the city of select dropdown will return to original value ( get all cities).
I have an idea to insert your change event function into reset jqgrid section:
jQuery(“#list”).jqGrid('navButtonAdd',”#pager”,{caption:”Reset”,title:”Reset Filter”,buttonicon :'ui-icon-refresh',
Dear OlegK,
Sorry for misunderstanding.
I mean the reset toolbar search is the sixth button of six jqgrid navigation buttons on pager which looks like recycled icon. They are:
1) Add New Row,
2) Edit Selected Row,
3) View Selected Row,
4) Delete Selected Row,
5) Find Records, and
6) Reload Grid
Best Regards,
Candra
Dear OlegK,
Thank you for your fast responce but that can not solve the problem. It only works when we change the value of select dropdown.
If I push the reset toolbar search, only the grid can reload but not the select value. The select value can be reloaded by refreshing the web page.
let say our country select consist of: USA, Australia and our city select consist of: NewYork, Washington, Brisbane, Perth.
If I choose Australia, the sub category select will consist of Brisbane and Perth only.
And then I want to clear my toolbar search to return original value of country select and city select.
I think it should use ajax to reset select toolbar value. How to make it works?
Best Regards,
Candra
Dear OlegK,
I am sorry I dont understand what you mean with reset the filter inside of dataInit. I don
t know how to do it, please give me a guide
Best Regards,
Candra
Dear OlegK,
I found a new problem: when I implement dynamic category select drop down, the sub category works well, but when I push refresh/reset/clear filter, the sub category select cann`t return the original select. What should I do?
Could you help me please?
Best regards,
Candra
Dear OlegK,
It works. Thank you
Best regards
Candra
Dear all,
I tried to implement dynamic select dropdown on toolbar searching, but I cann`t populate subcategory dropdown.
Can you show me where is something wrong?
here is my code:
{name:'Country'
Dear OlegK,
Thank you for guide me to right direction.
I have a transaction table, I want to hide server`s data because it is no need to show to everyone except someone has their transaction number so they can see details of transaction by filterToolbar.
At least, I got the point.
Thank you for your help
Best Regards,
Candra
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top