The CreatorCon Call for Content is officially open! Get started here.

Changing length of reference fields

balakumar1
Kilo Contributor

Hi folks,

The length of the reference field is by default 32. When I use this reference field in the filter of a report, it is displayed short (because length is 32). The display value of the value I choose in the reference field in the filter is too long and I'm not able to see the complete display value. Is there anyway I can increase length of the reference field to show the complete display value.

I changed the field's max length from 32 to 100, but still the field's length remains the same in reports' filter. Any ideas please?

Regards,

Bala

6 REPLIES 6

Subhajit1
Giga Guru

Use this as an OnLoad Client Script:-


var ctrl =g_form.getControl('assignment_group');


ctrl.style.width = 500;


Hi Subhajit,



Thanks for the response. Though it will work on the form, we actually want it to happen in the filter of a report when you use that ref. field in the filter.



Bala


Its not working. I tried.



Thanks,


Kiranmai


Tanaji Patil
Tera Guru

Hi Balakumar,



Reference styles are similar to field styles, but apply to any reference to a table. For instance, a reference style on the User [sys_user] table would apply to any reference field on any table that refers to User.


To define a reference style, enter sys_ui_reference_style.list in the application navigator filter and click New.



But I dont think this will also apply on the filters referencing that table.



Thanks,


Tanaji