kaare

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Author
    Replies
  • in reply to: Wrong header alignment with hidden column #84296
    kaare
    Participant

    Oops! My bad.

    I had 'hidden:”true”' instead of 'hidden:true'. Now it works as expected.

    The data column disappeared with both. The header column disparreared too, but the alignment went bad. You may want to make it consistent in case others make the same error I did.

    in reply to: Wrong header alignment with hidden column #84294
    kaare
    Participant

    OK, I had hoped to do it today, but time ran out.

    I hope to get back to this soon.

    in reply to: Position on row #83850
    kaare
    Participant

    Hi Tony

    But should you be able to use ScrollTo (or similar) with jqGrid?

    I wasn't very successful when I tried the other night.

    in reply to: Position on row #83847
    kaare
    Participant

    Currently this

    in reply to: Position on row #83661
    kaare
    Participant

    Yeah, I know I wasn't too clear the first time 🙂

    A follow-up question – I'd like to manipulate the CSS classes in same grid so that weekdays have one color, weekends another and holidays yet another. Remember, each day of the month is a separate row.

    The information about which type (weekday, weekend, holdiay) will come from the server, but the question is: Can I set the css class of the row based on the data I receive from the server?

    in reply to: Position on row #83639
    kaare
    Participant

    It's a grid that is generated from the server and it may be from 1 to 31 rows long (for each day in the current month). I want no more than 10 lines visible at a time. If there are more rows than 10, there will be a scrollbar to get to the bottom.

    Now, if it's the today, the 30. september, the server will generate a list of 30 rows. When the grid is finished, I will see the first 10 rows and I have to scroll down to day 30. I would like this to happen automatically, so it will display the last 10 rows of the set, and the scollbar can still be used to scroll up to the first rows.

    I hope it is understandable?

    in reply to: InsertRowData ? #82889
    kaare
    Participant

    Impressive! When will that version be out?

    And just to be sure. You are responding about the insertRowData, right? The draggables idea is not implemented, I recon. (I saw that mentioned in another thread).

    But can you answer this also? I can't find a method to give me the current number of rows in the grid, only the initial number.

    Isn't there a method to give me this?

    in reply to: jqGrid and autocomplete #82757
    kaare
    Participant

    Finally I had a little time to test this.

    You're right, it's easy. I put

    jQuery('…').editRow(id,true,fieldfunctions);

    in onSelecctRow. And in fieldfunctions:

    jQuery(“#”+id+”_field1″,”#…”).datepicker({dateFormat:”yy-mm-dd”});
    jQuery(“#”+id+”_field2″,”#…”).autocomplete(…etc etc

    This is just great!

    in reply to: jqGrid and autocomplete #82697
    kaare
    Participant

    julizar, do you mind sharing your code?

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

Stay connected with us in your favorite flavor!