3.2.0

Browse button inside the grid

How can we have a browse button in one of the cells inside grid control ?
Vidyadhara
July 6,
Just to elaborate, it is the file browser dialog which needs to show up when the browse button is clicked.
Vidyadhara
July 6,
Alex, is there anything like this ?
Vidyadhara
July 10,
You can put a button in the cell of a browse but you will need to use JAVA to connect to the local file system of the workstation. I use jumploader, free and works like a charm.

Here is how you can add a button in the cell:

var formTemplate1 = new AW.System.Template;
formTemplate1.setClass("item", "template");
formTemplate1.setClass("templates", "cell");

var button1 = new AW.HTML.BUTTON;
button1.setContent("html", "Delete");
button1.setEvent("onclick","TAB06030201Delete(event)")
button1.setSize(40,20);
button1.setStyle("font-size","10px");
button1.setStyle("text-align","center");
button1.setStyle("line-height","normal");
button1.setAttribute("disabled","_GRIDBUTTON_");
formTemplate1.setContent("button", button1);

...

grid.setCellTemplate(formTemplate1, 2);
Erik Dobrie
July 10,
Thanks Erik. Let me see if it works
Vidyadhara
July 17,

This topic is archived.

See also:


Back to support forum