NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rob Kolanko on February 06, 2014, 09:03:27 AM

Title: NetWebBrowse: Locator Type based on selected sort column
Post by: Rob Kolanko on February 06, 2014, 09:03:27 AM
When a user clicks on a particular column to sort, I would like to change the locator type from "position" to "search" for that column only. Thus when the user selects another column to sort, the locator type changes back to "position". Can this be done?
Thanks
Rob
Title: Re: NetWebBrowse: Locator Type based on selected sort column
Post by: Bruce on February 09, 2014, 10:37:14 PM
Hi Rob,

Add embed code to the SetVOrder routine.
At this point abs(loc:vordernumber) is set with the currently selected column number;

For example;

if abs(loc:vordernumber) = 2
  loc:LocatorType = Net:Search
end


cheers
Bruce