pbor

Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Author
    Replies
  • in reply to: Unsortable headers get ui-jqgrid-sortable css class #89107
    pbor
    Participant

    Mmm.. ok I'll look into setColProp.

    However I think the current behavior is unintuitive… if there are dynamically sortable columns, maybe the css class should be dynamically set too. Just to give context, I want to tweak my css to not show the unsortable columns as clickable, which I think it is a common choice.

    in reply to: per column css classes (colgroups?) #88743
    pbor
    Participant

    Hi, thanks for the reply.

    I admit I am no cross-browser expert, but colgroup seemed to work ok for just setting the style without fancy stuff like spanning multiple columns etc.

    That said I am not particularly attached to colgroups, what I really need is the ability to set style for specific columns, and in particular for the first and the last. Would you consider adding that, even in a different way like setting the class on every cell?

    in reply to: per column css classes (colgroups?) #88613
    pbor
    Participant

    Sorry, I am not very used to forums, so I made some errors in the above post and I ended up cut and pasting the wrong version of the patch instead of the one of the version I am testing… some notes:

    1) in the patch var cgc = ts.p.colModel.name should be ts.p.colModel.colclass

    2) I added a ui-column class to each column… this was more of a test, not sure it is useful

    3) It is probably good to always add special css classes to the first and last column, since they are useful to customize css borders

Viewing 3 replies - 16 through 18 (of 18 total)

Stay connected with us in your favorite flavor!