Questions Tagged With rdwidgetshttps://answers.axonivy.com/tags/rdwidgets/?type=rssquestions tagged <span class="tag">rdwidgets</span>enWed, 02 May 2018 22:58:40 -0400Get client java version when launching ULC Rich dialog via JNLPhttps://answers.axonivy.com/questions/3247/get-client-java-version-when-launching-ulc-rich-dialog-via-jnlp<p>Hi there, Can I get client java version when launching the RIA via JNLP file? Because my application has trouble with java version &gt; 161 that when I using RLookupTextField and whole application is freezing and could not close. My solution: I will display RComboBox incase end user using java &gt; 161. but when is using System.getProperty("java.version") it always return java version of Ivy server. Thank you for any support!!</p>dvcuong05Wed, 02 May 2018 22:58:40 -0400https://answers.axonivy.com/questions/3247/get-client-java-version-when-launching-ulc-rich-dialog-via-jnlprdwidgetsCatch Widget Validation Messagehttps://answers.axonivy.com/questions/1796/catch-widget-validation-message<p>How can I catch the entered widget validation message entered in the configuration</p>lienertWed, 08 Jun 2016 11:37:23 -0400https://answers.axonivy.com/questions/1796/catch-widget-validation-messagerichdialogrdwidgetsHow to set the focus in a RTable programmatically?https://answers.axonivy.com/questions/472/how-to-set-the-focus-in-a-rtable-programmatically<p>How can I set the focus on a row with row index or column ID? I like to have the same effect like I would click into the cell with the mouse?</p>Katharina KaczmarczykTue, 11 Dec 2012 09:32:20 -0500https://answers.axonivy.com/questions/472/how-to-set-the-focus-in-a-rtable-programmaticallyrichdialogrtablerdwidgetsHow to configure columns of RTableTree in ivyScript ?https://answers.axonivy.com/questions/447/how-to-configure-columns-of-rtabletree-in-ivyscript<p>Can I configure the columns in a table tree in ivyScript so that I can hide or move columns by name or ID?</p>Thomas KohlerMon, 02 Apr 2012 11:31:19 -0400https://answers.axonivy.com/questions/447/how-to-configure-columns-of-rtabletree-in-ivyscriptrichdialogrdwidgetshow to set the mandatory property dynamically?https://answers.axonivy.com/questions/443/how-to-set-the-mandatory-property-dynamically<p>I need to set the <code>mandatory</code> property of some widgets at the run-time depending on some run time criteria and without having a typed reference to the widget. How can I do this?</p> <p>I can do this for example for the <code>visible</code> property. I can loop through all components of a display or other panel or container by <code>panel.myContainer.getComponents()</code>, select which components I am interested in and then call <code>setVisible(Boolean)</code> on them.</p> <p>I cannot call <code>setMandatory(Boolean)</code> on this level but I would need to. </p>Eva WackerThu, 02 Feb 2012 06:13:28 -0500https://answers.axonivy.com/questions/443/how-to-set-the-mandatory-property-dynamicallyrichdialogrdwidgetsRListDisplay Scrollbarhttps://answers.axonivy.com/questions/387/rlistdisplay-scrollbar<p>I use the RListDisplay Widget in Ivy 4.1.2 and 4.1.3 to display other components dynamically and it works good so far.</p> <p>The RListDisplay shows a vertical Scrollbar as soon as there is not enough vertical place to show all the components. It is included into a Rich Dialog and the list of components to load in the RListDisplay is built in the Rich Dialog Start method.</p> <p>The problem is that the scrollbar scrolls automatically to the end of the ListDisplay after the RDC has been loaded. I can not get the scrollbar to stay "quiet" at the 0.0 position.</p> <p>I have tried with the "ListDisplay.setAutoscrolls(false);" method or with panel.ListDisplay.setVerticalScrollBarPosition(0.0); in the last step of the start method: the scrollbar scrolls always automatically to the end.</p> <p>I there any solution to this problem?</p>EmmanuelThu, 06 Jan 2011 07:46:58 -0500https://answers.axonivy.com/questions/387/rlistdisplay-scrollbarrichdialogrdwidgetsWrap lines in a RTablehttps://answers.axonivy.com/questions/371/wrap-lines-in-a-rtable<p>Is it possible to wrap long content in a RTable cell into multiple lines?</p>Richard SchmidTue, 28 Sep 2010 02:59:00 -0400https://answers.axonivy.com/questions/371/wrap-lines-in-a-rtablerichdialogrtablerdwidgetsMark the content of text fields automatically when focus is gainedhttps://answers.axonivy.com/questions/355/mark-the-content-of-text-fields-automatically-when-focus-is-gained<p>I want to mark the full content of text fields automatically as soon as the text field gains the focus. I use <code>setSelectionStart</code> und <code>setSelectionEnd</code> in the focus gained. </p> <p>The problem is that I need to create a focus gained event for all text fields. I wonder if there is a more elegant solution to this?</p>Richard SchmidFri, 23 Apr 2010 11:03:07 -0400https://answers.axonivy.com/questions/355/mark-the-content-of-text-fields-automatically-when-focus-is-gainedrichdialogrdwidgetsCell Widget in RTablehttps://answers.axonivy.com/questions/349/cell-widget-in-rtable<p>I want to use cell widgets in a RTable (e.g. a combo box) but I do not find any settings for this in the widget configuration for the table. How do I use them?</p>Jörg SchönfischTue, 20 Apr 2010 06:30:58 -0400https://answers.axonivy.com/questions/349/cell-widget-in-rtablerichdialogrtablerdwidgetsHide columns of a RTable depending of the value in a row/cellhttps://answers.axonivy.com/questions/347/hide-columns-of-a-rtable-depending-of-the-value-in-a-row-cell<p>I want to hide table columns if a condition in the value of the cell in the column holds true. For example <code>value.toString().trim() != "*"</code>. Unfortunately this does not work, even with a value of "*", the column is not hidden.</p>Jörg SchönfischSat, 10 Apr 2010 11:01:21 -0400https://answers.axonivy.com/questions/347/hide-columns-of-a-rtable-depending-of-the-value-in-a-row-cellrichdialogrtablerdwidgetsRTable is not updated when model is changedhttps://answers.axonivy.com/questions/310/rtable-is-not-updated-when-model-is-changed<p>I use an RTable widget with a ivyScript List as model. I want that the table updates it self when I change an element in my list. E.g. I have a list with articles and I change an article, add a new one or delete one, then I want that the table is updated automatically. How can I do that?</p>Alain HelfensteinMon, 04 Jan 2010 06:08:38 -0500https://answers.axonivy.com/questions/310/rtable-is-not-updated-when-model-is-changedrichdialogrtablerdwidgetsDisplay NULL values in record set nicely in the RTablehttps://answers.axonivy.com/questions/284/display-null-values-in-record-set-nicely-in-the-rtable<p>I have a record set from a DB query that I want to use for display in a RTable. Some values can be <code>NULL</code> and the result is that the RTable shows them like <code>java.lang.Object@1234</code> which is not very useful information for the end user. </p> <p>How can I make this cell empty for the display?</p>Benedict GroppeTue, 28 Apr 2009 09:48:16 -0400https://answers.axonivy.com/questions/284/display-null-values-in-record-set-nicely-in-the-rtablerichdialogrdwidgetsrtable