Skip to main content
Solved

Open the page and give CCombobox a default value. How to implement it

  • May 26, 2021
  • 3 replies
  • 126 views

Forum|alt.badge.img+2

dear all,

           I want to give CCombobox a default value when I open the page. How can I implement it? I tried to assign it a value under the load event, but the page doesn't show up correctly

 

Best answer by Priyanjala Silva

Hi,

 

  • IFS Framework invokes the vrtDataRecordGetDefaults method to retrieve client default values for new records.
  • Therefore Client default values can be set by overriding the vrtDataRecordGetDefaults method.
  • You can refer the F1 Documentation for more details on implementation

https://wit.ifsworld.com/f1docs/apps9/Foundation1/050_development/022_user_interface/045_ee_dev/027_apf_development/110_develop_table_window/default.htm 

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+2
  • Author
  • Do Gooder
  • May 26, 2021

sorry,I'm a novice.It's a cdatafield, not a CCombobox

 


Priyanjala Silva
Sidekick (Employee)
Forum|alt.badge.img+7

Hi,

 

  • IFS Framework invokes the vrtDataRecordGetDefaults method to retrieve client default values for new records.
  • Therefore Client default values can be set by overriding the vrtDataRecordGetDefaults method.
  • You can refer the F1 Documentation for more details on implementation

https://wit.ifsworld.com/f1docs/apps9/Foundation1/050_development/022_user_interface/045_ee_dev/027_apf_development/110_develop_table_window/default.htm 


Forum|alt.badge.img+2
  • Author
  • Do Gooder
  • June 18, 2021

Who can tell me, for example, when vrtdatarecordgetdefaults will be triggered? Now I know it's time to click new, but there are many other default IFS methods. I want to know which ones are available, when they will be triggered, and where there are documents. I found F1, but I didn't get anything. Thank you very much