friflaj

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Author
    Replies
  • in reply to: Auto-sizing the columns #90752
    friflaj
    Participant

    I see. So this is not likely to be a useful approach for the short term. Is there a workaround?

    in reply to: Customizing Form in Modal Dialog #90637
    friflaj
    Participant

    I want something similar. Can the functionality from the “custom buttons and forms” help here?

    in reply to: Auto-sizing the columns #90625
    friflaj
    Participant

    I'm currently looking at something like this (call with resizeColumns('#yourgrid', ['colname1', 'colname2']):

    in reply to: Auto-sizing the columns #90554
    friflaj
    Participant

    I take that as a challenge ;)

    I'm getting closer: I can calculate an approximation of the width for a specific column by finding the width of, for example, the first cell:

    and in loadComplete:

    $('#measure').html('' + $('#treegrid2 tbody tr:first td:eq(1)').text() + '');

    alert($('#measure span').width());

    I realize that the cell selection should use getCell, but that always returns false for me, I'll keep poking at that. So how do I use this width value to set the width of a column after load? Between http://www.trirand.com/jqgridw…..;s=getcell I don't see anything that fits the bill.

    in reply to: Fixed size columns #90542
    friflaj
    Participant

    Excellent! Thanks!

    in reply to: Fixed size columns #90527
    friflaj
    Participant

    I do this by just sticking “fixed:true” in the colmodel for this column, right? I have the colmodel below, but the rank column still allows resizing. Clues appreciated. I'm on 3.6:

    in reply to: [3.6] Treegrid + forcefit causes error #90504
    friflaj
    Participant

    Including the language file fixes this too.

    in reply to: TreeGrid in 3.6: FF vs IE #90502
    friflaj
    Participant

    You're right, of course. Sorry I glanced over that part. It works perfectly now.

    Many thanks,

    Emile

    in reply to: TreeGrid in 3.6: FF vs IE #90495
    friflaj
    Participant

    My mistake, the problem is also present in FF, don't know how I overlooked this.

    Live demo of the problem is at http://jqgrid.auto.iris-advies.nl/

    Thanks,

    Emile

    in reply to: Sizing Columns Based on Data #90458
    friflaj
    Participant

    The import/export modules will work for option 3, but I think SteveT would prefer the grid to auto-size the columns, much like a regular table would. I would also love to see a way to accomplish this, or at least a way to automate it for my users.

    in reply to: TreeGrid in 3.6: FF vs IE #90453
    friflaj
    Participant

    I think Google Chrome has the same issue: Uncaught TypeError: Cannot read property 'integer' of undefined

Viewing 11 replies - 1 through 11 (of 11 total)

Stay connected with us in your favorite flavor!