Search:

Type: Posts; User: Noggy

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    2,245

    I'm using % to set height and width of the grid...

    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...
  2. Replies
    4
    Views
    1,826

    Struggle with that for some time. If you really...

    Struggle with that for some time. If you really want widgets in a Grid...you should use table instead.
  3. Replies
    1
    Views
    1,526

    Answering my own thread...i switched to GWT...

    Answering my own thread...i switched to GWT FlexTables, which are much more
    flexible when it comes to apply and remove CSS styles.
  4. Replies
    3
    Views
    1,746

    Hi. Try firing a GridEvent for the row and...

    Hi.

    Try firing a GridEvent for the row and column you want.

    Example :



    GridEvent gridEvent = new GridEvent(yourGrid);
    gridEvent.rowIndex = 0;
  5. Replies
    5
    Views
    1,725

    Oh i forgot...your column names must have the...

    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){
    ...
  6. Replies
    5
    Views
    1,725

    Hello again. You forgot to cast the return...

    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.
  7. Replies
    5
    Views
    1,725

    Hi. You're not using the set and get methods...

    Hi.

    You're not using the set and get methods from the BaseModelData.
    Try this :



    public YourModel(String combin) {
    setCombin(combin);
  8. Replies
    15
    Views
    7,748

    Hi paco !Thanks for the answer. What method...

    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...
  9. Replies
    15
    Views
    7,748

    Hi paco ! Did you manage to use flexible grids?...

    Hi paco !
    Did you manage to use flexible grids? Or have you switched to GWT FlexTables instead??

    TIA,
    Noggy
  10. Replies
    6
    Views
    3,223

    If someone pulls this off, i could use it too :)

    If someone pulls this off, i could use it too :)
  11. Issue solved. Please correct the online example...

    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...
  12. Possible Bug on EditorGrid prevents from changing cell background color

    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


    ...
  13. Changing grid cell inner html works on ie not on firefox

    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 ?
  14. Replies
    2
    Views
    1,601

    Hi! Why don't you use a ListField instead , add...

    Hi!
    Why don't you use a ListField instead , add a store to it and then call the

    store.setStoreSorter(new StoreSorter()); ?
  15. Use the getValue() method :> ...

    Use the getValue() method :>




    checkbox.addListener(Events.OnClick, new Listener<BaseEvent>() {
    public void handleEvent(BaseEvent be) {
    if(checkbox.getValue()) {
    //do something ...
  16. Hi ! Thx, for the quick reply. :> As i'm not...

    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 =...
  17. How to calculate date intervals using DateField/TimeField ?

    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...
  18. Replies
    15
    Views
    7,748

    Try setting a dimension on the grid with ...

    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... (:|
  19. Replies
    2
    Views
    1,506

    Hi ! Thanks for the reply. I've investigated...

    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...
  20. Replies
    15
    Views
    7,748

    I've been struggling with the same problem here....

    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
    ...
  21. Replies
    2
    Views
    1,506

    Merging grid column headers

    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...
  22. Replies
    1
    Views
    1,526

    Setting a grid cell background on click

    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. Replies
    10
    Views
    4,463

    Anyone solved this? I'm having the same...

    Anyone solved this? I'm having the same problem...

    TIA,
    Noggy
  24. Thanks. It worked!

    Thanks.

    It worked!
  25. Hello Sven, and thanks for the reply. Who is...

    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
Page 1 of 2 1 2