aspose file tools*
The moose likes GWT and the fly likes How to add DateField to the Toolbar using gwtext or gxt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "How to add DateField to the Toolbar using gwtext or gxt" Watch "How to add DateField to the Toolbar using gwtext or gxt" New topic
Author

How to add DateField to the Toolbar using gwtext or gxt

Gundamaiah Annamaina
Greenhorn

Joined: Feb 05, 2014
Posts: 3

I need to add two Date Fields for From Date and To Date and a Button to a toolbar using gxt or gwtext.Please suggest how to do this.


I am creating one grid in gxt.I need to add a toolbar at top of the Grid.I am creating the Toolbar as



And then I created two DateFields as




But now i want to add this two Date Fields along with one button to the toolbar and need to add that toolbar at the top of the Grid Panel.

Please guide.



Vijay kumar G
Greenhorn

Joined: Oct 07, 2012
Posts: 3
Can you try the below option, it is in GXT.

panel.getHeader().addTool(button);

-Vijay



Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Welcome to the Ranch Vijay!


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to add DateField to the Toolbar using gwtext or gxt