Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of new property for the fields #1421

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joabac
Copy link

@joabac joabac commented Jan 20, 2023

Now you can define an "id" property for the tags . This allows you to attach events to the fields on edit, insert or filter, using the defined id.

the insert field alwais ends with _inser
the edit field alwais ends with _edit
and the filter alwaiy ends with _filter

For example:
To set up a text field you should define the field like this:

{ name: "Name", type: "text", width: 150, id:"id_nombre" }

the result in HTML is:


<input type="text" id="id_name_filter">
<input type="text" id="id_name_insert">
<input type="text" id="id_name_edit">

repectively for the filter, insert and edit fields

Now you can define an "id" property for the tags . This allows you to attach events to the fields on edit, insert or filter, using the defined id.

the insert field alwais ends with _inser
the edit field alwais ends with _edit
and the filter alwaiy ends with _filter

For example:
To set up a text field you should define the field like this:

 { name: "Name", type: "text", width: 150, id:"id_nombre" }

the result in HTML is:

<input type="text" id="id_name_filter">
<input type="text" id="id_name_insert">
<input type="text" id="id_name_edit">

repectively for the filter, insert and edit fields
@joabac
Copy link
Author

joabac commented Mar 27, 2023

Now you can define an "id" property for the tags . This allows you to attach events to the fields on edit, insert or filter, using the defined id.

the insert field alwais ends with _inser
the edit field alwais ends with _edit
and the filter alwaiy ends with _filter

For example:
To set up a text field you should define the field like this:

{ name: "Name", type: "text", width: 150, id:"id_nombre" }

the result in HTML is:

<input type="text" id="id_name_filter">
<input type="text" id="id_name_insert">
<input type="text" id="id_name_edit">

repectively for the filter, insert and edit fields

@joabac joabac closed this Mar 27, 2023
@joabac
Copy link
Author

joabac commented Mar 27, 2023

Now you can define an "id" property for the tags . This allows you to attach events to the fields on edit, insert or filter, using the defined id.

the insert field alwais ends with _inser
the edit field alwais ends with _edit
and the filter alwaiy ends with _filter

For example:
To set up a text field you should define the field like this:

{ name: "Name", type: "text", width: 150, id:"id_nombre" }

the result in HTML is:

<input type="text" id="id_name_filter">
<input type="text" id="id_name_insert">
<input type="text" id="id_name_edit">

repectively for the filter, insert and edit fields

@joabac joabac reopened this Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant