Hi there,
I have a few question referring to below picture:
1) Dynamic dropdown/picklist
- How can I make the 'CAWANGAN' value appear depends on the 'NEGERI' selection?
2) How do I make the horizontal scroll for the instances list? As you can see the column is crowded.
3) 3) Why the decimal point doesn’t appear in the instance list although I have choose the intrinsic functions for each column. See picture below:
hope there has someone to help me on this issue. Thanks in advance
Dynamic Drop Down
Re: Dynamic Drop Down
Hi,
Re issue 1 - Dynamic dropdown
It depends on how you have coded the NEGERI and CAWANGAN drop downs. If they are #PRIM_LIST controls visualized as dropdowns, then in general you have an event routine that handles NEGERI.ItemClick or ItemGotFocus that clears the CAWANGAN list and loads it with appropriate values:
If you want to post some code about how you have coded the drop downs, I can be more specific.
Issue 2. - Crowded instance list
There isn't currently any option to add horizontal scroll bars to the default instance list. You could either reduce the number of fields, or code your own simple snap in instance list like shipped example DF_T41I1O.
Issue 3. Decimals not showing
This should work ok if, in the instance list settings grid, you specify a value in the decimals column, and an edit code.
e.g.
the Decimals value is 2
the Edit Code value is edit code 1 (1,234.120)
Regards
Mark Dale
Re issue 1 - Dynamic dropdown
It depends on how you have coded the NEGERI and CAWANGAN drop downs. If they are #PRIM_LIST controls visualized as dropdowns, then in general you have an event routine that handles NEGERI.ItemClick or ItemGotFocus that clears the CAWANGAN list and loads it with appropriate values:
Code: Select all
Evtroutine Handling(#NEGERI_DD.ItemClick)
#Com_Owner.Load_CAWANGAN
endroutine
Mthroutine Load_CAWANGAN
* Get #relevant CAWANGAN data as a list #MyData (say)
clr_list #CAWANGAN_DD
selectlist (#MyData)
Add_entry #CAWANGAN_DD
endselect
Endroutine
Issue 2. - Crowded instance list
There isn't currently any option to add horizontal scroll bars to the default instance list. You could either reduce the number of fields, or code your own simple snap in instance list like shipped example DF_T41I1O.
Issue 3. Decimals not showing
This should work ok if, in the instance list settings grid, you specify a value in the decimals column, and an edit code.
e.g.
the Decimals value is 2
the Edit Code value is edit code 1 (1,234.120)
Regards
Mark Dale
Last edited by MarkDale on Fri Oct 28, 2016 10:49 am, edited 1 time in total.
Re: Dynamic Drop Down
For Issue 2 you could also consider moving your filter to be on the top or bottom of the instance list - possibly rearranging the 3 drop downs to go across the screen.