Skip to main content
Solved

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


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 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Forum|alt.badge.img+2
  • Author
  • Do Gooder
  • 2 replies
  • 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
  • 2 replies
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings