Jam.py
  • Jam.py documentation
  • Getting started
  • Jam.py programming
  • Jam.py FAQ
  • How to
  • Business application builder
  • Jam.py class reference
    • Client side (javascript) class reference
      • AbstractItem class
      • Task class
      • Group class
      • Item class
        • Item
        • Attributes and properties
        • Methods
        • Events
      • Detail class
      • Reports class
      • Report class
      • Field class
      • Filter class
    • Server side (python) class reference
  • Release notes
Jam.py
  • »
  • Jam.py class reference »
  • Client side (javascript) class reference »
  • Item class »
  • search

search¶

search(field_name, value, search_type, callback)¶

domain: client

language: javascript

class Item class

Description¶

Call search to send to the server a request to generate and execute an sql query to get all records which satisfy the search condition for the field. The query will also satisfy currently set filteres or where condition for an item. The existing visual controls will be update with the returned dataset.

Parameters:

  • field_name - name of the field

  • value - value of the condition

  • search_type - type of search as a string, see Filter symbol in Filtering records

  • callback - a callback function that will be executed after search is executed

See also¶

Dataset

Filtering records

Previous Next

© Copyright 2022, Jam.py Team. Last updated on Oct 14, 2024.

Built with Sphinx using a theme provided by Read the Docs.