Hi,
Is it possible to switch the type of column in a table on offline form?
e.g.
On row 1-3 Column 2......Data exist so it is shown as Label component
On row 4 Column 2......Data doesn't exist so it is shown as Textbox component
I tried some way but am not able to find a good way.
I'd appreciate your kind advice.
Best Regards,
Megumi Sawada
[RDMLX]Switching type of column in table on offline form
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
-
Paul
Re: [RDMLX]Switching type of column in table on offline form
Hi Megumi,
I think this is possible. Please have a look at the processing in the shipped example LREX0050. This switches a column from lables to textboxes. I can see you only want to change a coulmn of one row of the table but I think you should be able to do that.
Please report back if you have any further trouble.
Good luck,
Paul
I think this is possible. Please have a look at the processing in the shipped example LREX0050. This switches a column from lables to textboxes. I can see you only want to change a coulmn of one row of the table but I think you should be able to do that.
Please report back if you have any further trouble.
Good luck,
Paul
-
Paul
Re: [RDMLX]Switching type of column in table on offline form
Sorry Megumi,
I didn't notice that you were asking for Offline forms. I'm not sure the technique in LREX0050 will work for Offline forms.
I will have to look at this more.
Paul
I didn't notice that you were asking for Offline forms. I'm not sure the technique in LREX0050 will work for Offline forms.
I will have to look at this more.
Paul
-
Paul
Re: [RDMLX]Switching type of column in table on offline form
Hi Megumi,
Changing the type of elements in a bound table on an Offline/Local form is very difficult to achieve at the moment. It would involve setting up the whole table manually in ECL script.
A better alternative for an Offline/Local form would be to set the column in question to a textbox from the start and use the Editable and Appearance properties to disable input and make it appear as a label. These properties would then be set as desired to change the appearance and enable input in a ECL script triggered by an event of some kind.
Hope this helps,
Paul
Changing the type of elements in a bound table on an Offline/Local form is very difficult to achieve at the moment. It would involve setting up the whole table manually in ECL script.
A better alternative for an Offline/Local form would be to set the column in question to a textbox from the start and use the Editable and Appearance properties to disable input and make it appear as a label. These properties would then be set as desired to change the appearance and enable input in a ECL script triggered by an event of some kind.
Hope this helps,
Paul
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: [RDMLX]Switching type of column in table on offline form
Hi Paul,
Thank you for your advice.
I tell them to use Editable True/False instead of switching between label and textbox.
Thank you.
Best Regards,
Megumi
Thank you for your advice.
I tell them to use Editable True/False instead of switching between label and textbox.
Thank you.
Best Regards,
Megumi