On Wed, Feb 23, 2011 at 8:01 PM, Anton Bessonov wrote:
> Hello Martin,
>
> thanks for your reply! You mean override newLink method in
> DefaultAbstractTree?
>
> No, Probably you'll have to create custom TreeColumn that uses DownloadLink
instead of Label (as PropertyTreeColumn does).
> See Downl
Hello Martin,
thanks for your reply! You mean override newLink method in
DefaultAbstractTree?
See DownloadLink.
On Fri, Dec 31, 2010 at 3:19 AM, Anton Bessonovwrote:
Hello list,
I'm trying to implement small file browser and I use TreeTable.
PropertyTreeColumn shows file names and I can g
See DownloadLink.
On Fri, Dec 31, 2010 at 3:19 AM, Anton Bessonov wrote:
> Hello list,
>
> I'm trying to implement small file browser and I use TreeTable.
> PropertyTreeColumn shows file names and I can get (newCell ->
> getTreeTable().getTreeState().isNodeSelected(node)) java.io.File. Now, I'm
>
I solved it.
new PropertyTreeColumn(new
ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL),
"", "userObject.name") {
@Override
public IRenderable newCell(TreeNode node, int level)
{
Hello list,
I'm trying to implement small file browser and I use TreeTable.
PropertyTreeColumn shows file names and I can get (newCell ->
getTreeTable().getTreeState().isNodeSelected(node)) java.io.File. Now,
I'm need force to download file after click on the file name. Any
suggestions?
Tha