iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
we are using WebGrid 7 in SharePoint webpart where we are rendering the webpart programatically.
We have self refrencing grid where we have enabled sorting.
We have written a javascript which maintains the expan collapsed state of the self refrenced nodes.
Is it possible to call this javscripot after the sorting is peformed ?
I know WebGrid providd OnColumnSort clientaction in layout setting but that is before the sorting is actually peformed. What i am looking for is an event fired after sorting is performed.
Thanks.
Hi Gaurav Desai,
Yes, currently we do not have a client side on that scenario. However, we do have a client side event that will triggered after the process is done. You can use AfterResponseProcess client side event, then we can make a validation if the last action is a column sort.
Here is the snippet to do so:
function WebGrid1_AfterResponseProcess(controlId) { var WebGrid1 = ISGetObject(controlId); if (WebGrid1.LastAction == "ColumnSort") alert("Sorting has been done"); return true; }
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname