Trigger On DataStore State Change
Description:
Trigger On Data Store State Change
This trigger is fired everytime the state of the DataStore is changed. You can access the following variables in any expressions on this trigger or the child actions
- #{props.$selectedCount}selected records count if any
- #{props.$size}total records count in the store
- #{props.$currentRecordIndex}the zero based index of the current record
- #{props.$busy}a boolean value indicating if the store is currently perform any query or post.
- #{props.$hasfilters}a boolean value indicating if the header filters or quick filter is applied on this store.
- #{props.eventName}the event name due to which this trigger is being fired.
Note: This will be fired too many times and hence keep it lite
Allowed Parent Components:
- Data Store 
Allowed Child Components:
- Abort 
- Abort If DataStore Is Empty 
- Action Copy 
- Action Download Attachment 
- Action Group 
- Action Search 
- Add Breadcrumb Item 
- Add Connection 
- Add Smart Search Filters 
- Change Language 
- Choose Attachment 
- Clear All Filters 
- Clear All Query Params 
- Clear All StoreRecord Messages 
- Clear DataSource 
- Clear Grid Sort 
- Clear Query Param 
- Clear Smart Search Filters 
- Clear StoreRecord Message 
- Confirm Message 
- Copy StoreRecord 
- Delete Current Record 
- Delete Selected Records 
- Deselect All Records 
- Duplicate Item 
- Duplicate StoreRecord 
- Eval And Execute Expression 
- Export Data 
- Export To Google Sheet 
- Geo Location 
- Go Back 
- Go To First Field 
- Go To First Record 
- Go To Item 
- Go To Last Record 
- Go To Next Record 
- Go To Page 
- Go To Previous Record 
- Hide Item 
- Hide Popup 
- Import Data 
- Insert Record 
- Invoke DataSource 
- Invoke Trigger 
- Loop 
- Loop Records 
- Multi Sheet Export 
- Open URL 
- Print Props To Console 
- Print To Console 
- Query DataSource 
- Reduce 
- Refresh DataSource 
- Refresh Navigation Menu 
- Register State 
- Remove Connection 
- Reset DataStore 
- Reset StoreRecord 
- Save DataSource 
- Save Transaction 
- Save Video Recording 
- Select All Records 
- Server Validate 
- Set As Current StoreRecord 
- Set Message On StoreRecord 
- Show Item 
- Show Message 
- Show Popup 
- Silent Sign Out 
- Start Video Recording 
- Stop Video Recording 
- Switch 
- Update Item Number Property 
- Update Item String Property 
- Update StoreRecord 
- Wait 
- Wait For LOV 
Properties
➤ Enable Condition
Specify an expression that should be evaluated to a boolean [e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.
Allowed Values: An expression which should return boolean after evaluation
Last updated
Was this helpful?
