Ardent JavaScript™ - Functionality DetailsTo process data on the client's computer, we are utilizing our Ardent JavaScript™ Suite of modules. These modules were developed using industry standard HTML, CSS and JavaScript. All Web pages delivered to the client contain data and commands (JavaScript function calls) integrated by the server-side application. JavaScript functions dynamically generate HTML Page content and data objects inside the Browser instantaneously.In order to familiarize you with how our offline technology actually works, we have provided a detailed listing of all major functionalities of Ardent JavaScript™ Suite, along with working Examples that you can use to explore the power of each function. I. Navigation1. We can select any column of any record on the screen using the mouse to click on it.2. We can also navigate using the following illustrated buttons:
3. Alternatively, the sliding bar () can be used. The sliding bar has these standard navigation capabilities:
4. Another means to navigate to, or locate, a specific data record is through the "Record #" (or "#") column. We can click on any record in this column using the mouse, then overtype the current record number with the number of the record you desire, and push either the "Tab" or "Enter" button. The desired record will appear in the currently selected row of the table. The same result can be obtained by changing the number in the selected record field, which is usually located under the column "Record #". Example: Navigation, Sorting, Search Index. 5. A more advanced way of navigation through the records is using the "Search Tools" (). These tools can be used to search for records in any column of the table except for "Record #" ("#"). Follow these steps in order to use the "Find (Next)" () button:
Another way to use the "Find ( Next)" () button:
Note: Use the values "Y" and "N" for searching the "Check Box" columns. the button "Find (Previous)"() has a similar behavior but it searches in the opposite direction. Examples: Filtering, Excluding, Hiding, Indexing, Detailed Table. 6. Another method of navigation through the records is using the "Search Index" (). This tool can be used to search for records in any column of the table except for "Record #" ("#"). Follow these steps in order to use the "Search Index" ():
Ardent JavaScript™ will search the sorted table for the top value in the selected column, which starts with the clicked character, digit or '-' symbol. If the appropriate record will be found, it will be highlighted in the grid (form). Otherwise, it will highlight the first record, which has the field value in the selected column that is alphabetically bigger than the clicked character, digit or '-' symbol. In a case when all values in a selected column are alphabetically less than clicked character, digit or '-' symbol, the last record will be highlighted. Examples: Data Formats and Reports (continue), Filtering, Excluding, Hiding, Indexing. 7. A more convenient way of navigation through the records is using the "Look Up Index" (). This tool can be used to search for records in any column of the table except for "Record #" ("#"). Here is the method used for the "Look Up Index" ():
Ardent JavaScript™ will search the sorted table for the top value in the selected column, which starts with the substring to be searched. If the appropriate record is found, it will be highlighted in the grid (form). Otherwise, it will highlight the first record which has the field value in the selected column that is alphabetically bigger than the substring to be searched. In case all values in the selected column are alphabetically less than the substring to be searched, the last record will be highlighted. Example: Look Up Filter and Look Up Index Example - Medications. II. Sorting1. We can sort data in the table by simply clicking on the title of that column ( or ) in the grid.After sorting, the appropriate arrow represents a visual confirmation: After one click, data will be sorted in an ascending order (). Click the title again to sort the data in a descending order (). 2. We also have a one click sorting functionality. It can be achieved by using two sorting buttons: "Sort Ascending" () and "Sort Descending" (). To sort by any column:
Examples: Data Formats and Reports (continue), Detailed Table. III. Filtering and ExcludingFor instance, we may want to filter from a list of computers of all computers with the clock speed 1500 Mhz.We can filter data using one of following ways: 1. Use the "Filter" () button like the "Find (Next)" () button for selecting all records with a field that contains a substring from the "Search" input. 2. The "Exclude" () button extracts all records that DO NOT contain a substring from the "Search" input. 3. The "Hide" () button hides the current record - selects all records except the current one. 4. The "HideUp" () button hides all records above the current record - selects the current record and all records below the current record. 5. The "HideRest" () button hides all records below the current record - selects the current record and all records above the current record. Note: Sorting may be useful before using the "HideUp" () and "HideRest" () buttons. Examples: Filtering, Excluding, Hiding, Indexing, Grid with Detailed Form. 6. Another simple way of filtering records is offered by the "Filter Index" (). This tool can be used to filter records by any column of the table except for "Record #" ("#"). Here are the steps for using the "Filter Index" ():
If no appropriate record is found, an empty result will be shown. Examples: Filtering, Excluding, Hiding, Indexing, Grid with Detailed Form. 7. An advanced way of filtering records is the "Look Up Filter" (). This tool can be used to filter records by any column of the table except for "Record #" ("#"). To use the "Look Up Filter" (), refer to the following steps.
If no appropriate record is found, an empty result will be shown. Note: After filtering records, the quantity of remaining records is shown in the "of" field on the left side of the "Total" line. Another Note: The program automatically recalculates all totals for the remaining records (see text section). Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Look Up Filter and Look Up Index Example - Medications. IV. TotalsRemark: This functionality has meaning only for Numeric and Boolean columns.Possible values for Numeric columns:
Examples: Totals, Totals (continue), Selecting, Filtering, Excluding, Hiding, Indexing. V. Reports, Export, Preview, E-mail and Print
Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Multiple Forms, Moveable and Resizable Columns, Leads (One Page Application). VI. Data ManipulationArdent JavaScript™ manipulates data in the following ways:1. We can click on the field and edit this field value inline (like in MS Excel). Note: If on the Web page, we have more than one grid/form related to one table, the results of editing in any form become visible in all grids/forms immediately. 2. Another way to change data is using the "Replace" () and "Replace All" () buttons. Both buttons work with "Search" input located on the left from "Find (Next)" () button in the "Search Set" () and "Replace" input located from the left side of "Replace" () button in the "Replace Set" (). The text to be replaced is entered into the "Search" input. The text to be substituted is entered into the "Replace" input. When the "Replace" () button is clicked, the next occurrence (beginning at the currently selected record) of the "Search" text is replaced. Note: Do not forget to check the "Match Case" checkbox to make the search and replace case sensitive. The "Replace All" () button will replace all occurrences of the selected column for all records in the table. Note: For searching and replacing Check box values and Radio button values, characters "Y" and "N" should be used. Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Multiple Forms, Moveable and Resizable Columns. 3. Widgets to pick the value for the edited field. Currently we have two widgets:
Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Grid with Detailed Form. VII. Adding New Records LocallyArdent JavaScript™ has three commands to add new records to the table.1. The Add Record () command appends a new record to the end of the table. All fields of the new records have default values. If default values are not specified, all fields will be set to the value "" (empty string). 2. The Insert Record () command is similar to the "Add Record" command, but the new record is placed directly after the currently selected record instead of appending. 3. The Copy Record () command works similarly to the "Insert" () button but instead of default values, the fields are copied from the currently selected record. Note: The "Copy" (), "Add" () and "Insert" () buttons set the "Action Code" in the new record to "Add" (). Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Multiple Forms, Moveable and Resizable Columns. VIII. Deleting RecordsArdent JavaScript™ has the following tools to mark records for deletion.1. The user can manually set the Action Code of the record received from server by selecting the 'D' (Delete) value in the "Action Code" drop down: . Please refer to next section for more details about the "Action Code". 2. Select the row in which you would like to mark for deletion by clicking on any cell in this row. Click the Delete () button. 3. The user can click the "Delete All" () button to mark all rows for deletion in the table. Note: The "Delete" () and "Delete All" () buttons set the "Action Code" in the records received from server to "D" ("delete"). After submitting, these records will be deleted from the server database. But both of these buttons delete any new records recently added locally by the user from the RAM database. These records have the Action code "A" ("added") and do not yet exist on the server. Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Leads (One Page Application). IX. Action CodeArdent JavaScript™ keeps track of all changes made by the user with locally located data. For this purpose, every record has an "Action Code". An Action Code has four possible values:
X. Show All, Undo, Star OverUndo functionality is flexible in Ardent JavaScript™. The developer can create his/her own undo buttons with the appropriate behavior.Ardent JavaScript™ has the two most popular commands "Undo" and "Start Over". 1. Show All () is a command which shows all records after filtering, exluding, hiding. All records keep all modifications, order and Action Code previously set by another comands. 2. Undo () is a command which erases the last change done to the table by reverting it back to an older state. 3. Start Over () gives us the original records we received from the server (this deletes any changes made before). Examples: Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Detailed Table, Multiple Forms, Moveable and Resizable Columns, Grid with Detailed Form, Data Manipulation, Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker, Leads (One Page Application). XI. Save Locally and Restore Locally1. Save Locally () command in Ardent JavaScript™ allows the user to locally save the current application state into the RAM database, including all records, and its modifications, added records, and track of all actions made by the user on the client side.2. Restore Locally () restores the application state saved by the Save Locally () command. Example: Leads (One Page Application). XII. Update / SaveUpdate/Save () functionality in Ardent JavaScript™ allows the user to send multiple (locally edited, added or marked for deletion) records back to the server for batch processing. Ardent JavaScript™ can generate data in any format.Ardent JavaScript™ has three commands: 1. Save is a command which packs only edited, added or marked for deletion records and submits them to the server for batch processing. 2. Save All submits all records to the server. 3. Save Selected Keys submits a list of keys for the records selected by the user. Examples: Leads (One Page Application), One Page Search Engine #1, One Page Search Engine #2, One Page Search Engine #3. XIII. Previw, E-mail, PrintPreview Template allows the user to preview documents, populated by data from the currently selected recordSchedule Sending E-mails (Send E-mail) aloows user to sent mass e-mails for all selected clients (Column "selected" in the grid) Print Letter aloows user to print letter populated by data from the currently selected record Example: Leads (One Page Application). XIV. Default EditorFull Power Default Record Editor (Click the checkbox to activate it).Example: Leads (One Page Application). XV. Drag and Drop FunctionalityArdent JavaScript™ uses Drag and Drop functionalities for following tasks:1. Resize Columns . Examples: One Page Search Engine #1, Multiple Forms, Moveable and Resizable Columns, Look Up Filter, Inline Editing, Validation, Date Picker and Color Picker. 2. Shifting Columns . Examples: One Page Search Engine #1, One Page Search Engine #2, One Page Search Engine #3. 3. Change Record Order . Examples: Row Drag Reorder, Medications, One Page Search Engine #3, Leads (One Page Application). 4. Copy Records . Examples: Row Drag Reorder, Medications. 5. Delete (Hide) Records . Examples: Medications. 6. Drag Field replaces the value of the field into another table . Example: Medications. Note: Ardent JavaScript™ allows the developer to create custom Drag and Drop functionalities. XVI. Ardent JavaScript™ Built In Visual Data Representation1. Numeric Bar .Example: Data Formats and Reports. 2. Numeric Bar with Custom Colors . Examples: Data Formats and Reports, Data Formats and Reports (continue), Totals (continue), Selecting. 3. Image Bar . Examples: Data Formats and Reports, Totals (continue), Selecting. 4. Star Bar . Examples: Data Formats and Reports, Totals (continue), Selecting. 5. Image . Examples: Detailed Table, Custom Formats - Countries. 6. Image-Link . Examples: Detailed Table, One Page Search Engine #2. 7. Link . Examples: Data Formats and Reports, Detailed Table. 8. Custom Color (CSS). . Example: Custom Formats - Countries. 9. Custom Format. . Example: Custom Formats - Countries. |