-
[Answers] Search
Q:
setting a form field as 'Search field' + 'User-selectable search field' means the user can click the field they want to use in the main form search.
What I don't get what it means if 'Search Field' is set but 'User selectable' is not set
A:
You can set one 'Search Field' or set one or more user selectable ones.
Q:
user will be able to choose from a drop-down combo box. Based on the value selected in the combo-box, the rest of the form will be updated.
A:
- Set the search field on the section (e.g. employees.lastname)
- Add a Field and set its choices (e.g. select lastname from employees)
- Create an interactivechange delegate for the combobox field to search for the value
http://www.lianja.com/community/atta...2&d=1408617260
Lianja Web Client has built-in support for queries called "Instant Selections"?
Setup and instant selection.
http://www.lianja.com/community/atta...9&d=1413109523
Deploy your App from the "Web App View".
Now your users can query data based on known selections.
http://www.lianja.com/community/atta...0&d=1413109556
All topics in [Answers] alphabetically:http://www.lianja.com/community/show...ll=1#post12352
-
Q:
is possible to know the contents of the char contained in the "search box" (Instant search is upper right field with magnifyer)
A:
the search field is not currently exposed.
A quick explanation on how to search data behind a section either by referencing the row itself, or using the search delegate.
https://youtu.be/a_cSD_oBz-Y
Q:
http://www.lianja.com/community/atta...1&d=1474648899
to find the right record, I've write a RSP page to display, filter and sort the table.
is possible to do something like this in a grid?
With VFP, my user can click on a column, then just typing some char, I open a "search" window...
Is possible something like that with Lianja?
A:
The way I would do it, is to just add a custom control.
In this case, add a textbox that calls a showdialog.
Look back at this thread.
http://lianja.com/community/showthre...grid+container
Code:
public mysearchbox
define class clsmytextbox as textbox
proc interactivechange()
Lianja.writelog(this.text)
endproc
enddefine
proc mycontainer
mycontainer = createobject("container")
mycontainer.layout = "horizontal"
mycontainer.height = 50
mycontainer.addobject("mysearchbox","clsmytextbox" )
return mycontainer
In this case, I am just writing out as each letter is entered.
http://www.lianja.com/community/atta...2&d=1474772603
A2:
Ahh - you want to be able to type in the top row.
You can actually just use webview in the menu.
I just tried this and it worked well for me.
Under menu, click visible.
Then add an rsp or jssp page as the menu panel.
Adjust the height.
Instant Search - Search information shown in Section HeaderBar
http://www.lianja.com/community/atta...2&d=1363187927
Code:
$("page:customers?action=search&text={customers.companyname}||hidedialogpanel")
Code:
$("section:section1?action=search&text={}")
Q:
I have a page with a grid section and below it a canvas section
I want a search panel for the grid so in the grid Search Panel attributes I checked true for Visible and Auto Create.
Actually, the panel is there but the panel has nothing in it. It's just a blank strip.
A:
Search panel for the grid means you get a row between section name and a grid body.
It is empty until you chose column from grid for this use.
You need to doubleclick on Last Name column in the grid and set attribute Search panel field=True
You dont need canvas section with a field for that. The field is already on that panel.
http://www.lianja.com/community/atta...3&d=1417250087
All topics in [Answers] alphabetically:http://www.lianja.com/community/showthread.php?2717-Answers
-
Q:
1. Is it possible to modify the Placeholder text "Instant Search" in the instant search box to a custom value?
2. Is it possible to place an InputMask on the instant search box to force input to uppercase, for example?
3. Are the contents of the instant search box's text field accessible in script code?
A:
1. No.
2. No, but the search is case insensitive.
3. Yes, in the Page Instant Search delegate.
Instant Search - http://www.lianja.com/doc/index.php/Instant_Search
Custom Delegates - http://www.lianja.com/doc/index.php/...Instant_Search
Also, see the Page Custom Search - http://www.lianja.com/doc/index.php/Custom_Search
[Funny how this same 1 year old forum thread was reopen and expanded recently]
All topics in [Answers] alphabetically: https://www.lianja.com/community/sho...ll=1#post13748
These answers are also systematized on the site "Lianja developer": https://lianjadeveloper.wordpress.com/category/search/