NetTalk Central

Author Topic: NetWebBrowse: Locator Type based on selected sort column  (Read 2379 times)

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
NetWebBrowse: Locator Type based on selected sort column
« 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
« Last Edit: February 06, 2014, 09:59:34 AM by Rob Kolanko »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NetWebBrowse: Locator Type based on selected sort column
« Reply #1 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