Search Type: Posts; User: Noggy
Search: Search took 0.01 seconds.
-
16 Mar 2009 4:12 AM
Jump to post Thread: EditorGrid: initial row height by Noggy
- Replies
- 5
- Views
- 1,785
I'm using % to set height and width of the grid element. I found it was the approach
that produced more similar results between browsers.
Aparently setting height=10px on IE6 doesn't look the same... -
15 Mar 2009 5:12 AM
- Replies
- 4
- Views
- 1,502
Struggle with that for some time. If you really want widgets in a Grid...you should use table instead.
-
13 Mar 2009 11:36 AM
- Replies
- 1
- Views
- 1,080
Answering my own thread...i switched to GWT FlexTables, which are much more
flexible when it comes to apply and remove CSS styles. -
13 Mar 2009 11:33 AM
Jump to post Thread: Grid fire rowselect event by Noggy
- Replies
- 3
- Views
- 1,261
Hi.
Try firing a GridEvent for the row and column you want.
Example :
GridEvent gridEvent = new GridEvent(yourGrid);
gridEvent.rowIndex = 0; -
4 Mar 2009 11:52 AM
Jump to post Thread: Unable to display data in a grid by Noggy
- Replies
- 5
- Views
- 1,232
Oh i forgot...your column names must have the same name as the property
you set and get.
Example:
public YourClass extends BaseModelData {
public YourClass(int yourGridColumnName){
... -
4 Mar 2009 11:43 AM
Jump to post Thread: Unable to display data in a grid by Noggy
- Replies
- 5
- Views
- 1,232
Hello again.
You forgot to cast the return types. Example if you set an int you should retrieve
it with
return (Integer)get("yourVariableName");
Only the String type doesn't need cast. -
4 Mar 2009 10:52 AM
Jump to post Thread: Unable to display data in a grid by Noggy
- Replies
- 5
- Views
- 1,232
Hi.
You're not using the set and get methods from the BaseModelData.
Try this :
public YourModel(String combin) {
setCombin(combin); -
19 Feb 2009 9:14 AM
Jump to post Thread: Grid - no auto resize by Noggy
- Replies
- 15
- Views
- 6,496
Hi paco !Thanks for the answer.
What method did you use to show the resized grid ?
The system.out.println i'm using to debug show me that the grid dimensions
were resized, but the resized grid... -
18 Feb 2009 8:02 AM
Jump to post Thread: Grid - no auto resize by Noggy
- Replies
- 15
- Views
- 6,496
Hi paco !
Did you manage to use flexible grids? Or have you switched to GWT FlexTables instead??
TIA,
Noggy -
16 Feb 2009 2:57 AM
Jump to post Thread: grid local paging by Noggy
- Replies
- 6
- Views
- 2,273
If someone pulls this off, i could use it too :)
-
16 Feb 2009 2:50 AM
- Replies
- 1
- Views
- 1,064
Issue solved.
Please correct the online example to include escape characters !!!!
Inside the render method i had to use instead :
String style = "background-color:red; width:100%;";
String... -
13 Feb 2009 11:40 AM
- Replies
- 1
- Views
- 1,064
Hi all !
I'm still stuck at trying to change a grid cell background color. After my last attemp,
i'm beginning to be convinced it's a bug on GXT.
Here's the sample code
... -
11 Feb 2009 1:01 PM
- Replies
- 0
- Views
- 953
Hi all !
It seems that after all the work the simple code i posted
here
http://extjs.com/forum/showthread.php?t=59463
works only on ie but not on firefox :(
Can anyone help ? -
11 Feb 2009 12:54 PM
Jump to post Thread: ListView Drag and Drop by Noggy
- Replies
- 2
- Views
- 1,214
Hi!
Why don't you use a ListField instead , add a store to it and then call the
store.setStoreSorter(new StoreSorter()); ? -
11 Feb 2009 12:38 PM
- Replies
- 3
- Views
- 1,949
Use the getValue() method :>
checkbox.addListener(Events.OnClick, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
if(checkbox.getValue()) {
//do something ... -
11 Feb 2009 11:17 AM
- Replies
- 1
- Views
- 1,220
Hi !
Thx, for the quick reply. :>
As i'm not good javascript i looked for a java solution and ended up using this :
public static int getWeeks(Date a, Date b) {
long d1 =... -
11 Feb 2009 9:43 AM
- Replies
- 1
- Views
- 1,220
Hi all.
Has anyone an idea on how to calculate week intervals given a certain init date/time and end date/time ?
I'm using TimeField and DateField to set an initial and a final date, and i need... -
10 Feb 2009 7:50 AM
Jump to post Thread: Grid - no auto resize by Noggy
- Replies
- 15
- Views
- 6,496
Try setting a dimension on the grid with
grid.setSize().
That should force some scrollbars to appear if you have enough
data on the grid.
At the moment i have no better idea... (:| -
10 Feb 2009 7:39 AM
Jump to post Thread: Merging grid column headers by Noggy
- Replies
- 2
- Views
- 954
Hi ! Thanks for the reply.
I've investigated the grid.reconfigure, but it receives as input both a liststore and
column configs. Receiving the liststore seems problematic as the method will try... -
10 Feb 2009 7:01 AM
Jump to post Thread: Grid - no auto resize by Noggy
- Replies
- 15
- Views
- 6,496
I've been struggling with the same problem here.
The solution i found was to use the
grid.setAutoExpandColumnto have one of the columns push the others so that it looks ok.
You can also try
... -
10 Feb 2009 3:43 AM
Jump to post Thread: Merging grid column headers by Noggy
- Replies
- 2
- Views
- 954
Can this be done, only using GXT or GWT ?
If possible can anyone post a simple code snippet?
I've seen an ext js extension in this forum, but unfortunatly due to project
restrictions i can't use... -
9 Feb 2009 8:51 AM
- Replies
- 1
- Views
- 1,080
If you need to set a grid cell background when for example
the user clicks on a certain cell you can use :
public void handleEvent(GridEvent be) {
El test = be.getTargetEl();
... -
23 Jan 2009 5:09 AM
Jump to post Thread: how to validate DualList ? by Noggy
- Replies
- 10
- Views
- 3,262
Anyone solved this? I'm having the same problem...
TIA,
Noggy -
20 Jan 2009 6:38 AM
- Replies
- 6
- Views
- 1,550
Thanks.
It worked! -
20 Jan 2009 6:20 AM
- Replies
- 6
- Views
- 1,550
Hello Sven, and thanks for the reply.
Who is listening to this SelectionChange event that the the line
l.getSelectionModel()).deselect(l.getSelectedItem()fires ?
If it was the listener I...
Results 1 to 25 of 34
