Find in web client??

Forum to discuss the Web client version of Servoy.

Find in web client??

Postby juan.cristobo » Thu Apr 19, 2012 9:18 am

Sorry for this dummy question, but I haven't found any web client user's guide in the wiki and I've never used web client...

How can I do a find in web client? I can't use cntrl+F (as in smart client) because this is the find mode of browser, so I've put a button I my solution. But how can I execute the search? Do I have to put another button to do that? If I press Enter key nothing happens...

Regards,
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am

Re: Find in web client??

Postby Kahuna » Thu Apr 19, 2012 11:15 am

I may have mistaken your requirement Juan, but here is what I'm using currently
Code: Select all
function findData(event) {
   if (forms[event.getFormName()].foundset.isInFind())
   {
         forms[event.getFormName()].foundset.search(true,false)
   }
   else {forms[event.getFormName()].foundset.find()}
}
}

This is in my navigation form, and essentially the button this is attached to first puts the form into find mode, then on the second click it runs the search if its already in find mode.

Hope that makes sense?
Last edited by Kahuna on Thu Apr 19, 2012 12:03 pm, edited 1 time in total.
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Find in web client??

Postby juan.cristobo » Thu Apr 19, 2012 11:59 am

It's OK, thanks Kahuna, I'll try it.
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 4 guests