Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
How to add DateField to the Toolbar using gwtext or gxt
Joined: Feb 05, 2014
Mar 12, 2014 03:43:04
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
ToolBar toolBar = new ToolBar();
And then I created two DateFields as
DateField fromDate=new DateField(); DateField toDate=new DateField(); fromDate.setFieldLabel("From Date"); fromDate.setHeight(23); fromDate.setWidth(179); toDate.setFieldLabel("To Date"); toDate.setHeight(23); toDate.setHeight(179);
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.
Vijay kumar G
Joined: Oct 07, 2012
Mar 12, 2014 21:01:52
Can you try the below option, it is in GXT.
Joined: Jul 26, 2007
Mar 12, 2014 22:14:00
Welcome to the Ranch Vijay!
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: How to add DateField to the Toolbar using gwtext or gxt
Time format problem in MIDLet
How to retrieve day in MIDlet?
Retrieve value from a DateField
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015