Setfocus to Textbox in adempiere - adempiere

I have tired set focus to text box in adempiere. its not working for me. Can you please tel me how to achieve this?
How to set the cursor focus to a textbox in adempiere.

If you have this problem in Form, the default java statements can be used to set the cursor focus. That is
myComponent.grabFocus();
myComponent.requestFocus();//or inWindow

Can you please briefly explain what was the exact problem? Do you need callout ?
we need to modify the core classes of Framework for Field focus change purpose.

Related

non-editable text field in the Webix combobox

Just started using Webix in my study project.
Definitely enjoy it, but wondering if there's a way to make text field in the combo control non-editable and leave the possibility to pick values? Or I've missed something? Help!
You should use RichSelect control (Non-editable Combo Box ('richselect')).
See a sample here: http://docs.webix.com/samples/13_form/01_controls/11_richselect.html

Adding checkbox inside a listview in dhtmlx

How can i add check box inside combo box within the grid view.
As far as I know - it impossible, but they have similar editor type - "clist", check
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/09_pro_excell_extra.html
You can outside the grid view, like this link suggest (from the official dhtmlx forums).
But inside the grid you cannot.
The closest answer I found on the official dhtmlx forums said:
There is no special integration of combo with checkboxes and dhtmlxgrid.
"combo" column type purposed to be used with plain combobox mode only.
Technically it possible to change it , so it will render as list with checkboxes, but checked values will not be accessible through grid's API
I hope this answer could help you. If not, you should ask the dhtmlx team directly, as it does not seem to be possible without imperfect workarounds.

Designing and printing a receipt format in flex

I want to design a Receipt in flex.
Which control shall I use to display a table if I want to display some table cells without border? I also want to merge cells in the table just as we used to do in Excel.
Can anyone please give me the code to print the Receipt upon the button click?
I would probable use a List control with a customItemRenderer or a textArea with some fancy text formatting. As for giving you the code, I would be happy to provide input to code you have done or point you in the right direction but cant do your work for you. Best of luck.
Please prepare your receipt layout in flex and just check your layout is proper or not. if it proper then put one button and write down the printjob code on click event of the button. be sure at the time of click event please hide the button till printing is done (means upto send method called)
please refer PrintJob Class of ActionScript for your application to get receipt printing through your flex application.

Slick Grid Column Selector

Just make sure i'm not reinventing something..
I would like to have a column selector dialog that allows the user to select which columns are shown/hidden. Has anyone done a dialog that working with slickgrid?
Thanks
Yes, example4-model in the SlickGrid download package shows an easy way to implement this. Using this code worked fine for me.

Highlighting a textfield value

Hi guys i am using a dropdownlist which have the value please specify other, when that value is selected in prompts out a textfield which has the value please specify other, but for the user to type in anything in the textfield he has to delete the value manually..i am looking for a code which can delete the value automatically when the user type in the textfield..
Using jQuery, you can make textbox hints. Even better, reuse someone else's code:
http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/
Example: http://remysharp.com/wp-content/uploads/2007/01/input_hint.html

Resources