Solved

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

  • 26 May 2021
  • 3 replies
  • 107 views

Badge +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

 

icon

Best answer by Priyanjala Silva 26 May 2021, 09:56

View original

This topic has been closed for comments

3 replies

Badge +2

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

 

Userlevel 5
Badge +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 

Badge +2

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