jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • korell
    Participant

    Hi Peter,

    Thanks for the quick response.

    The above code works fine, even without datafield. In your example of a button column (http://www.jqwidgets.com/custom-grid-cells-rendering/) you use the record’s “id” field as the datafield, however in my case, I need to display the record ids in a separate column. Does that mean I have to create a field in my database table that I wouldn’t use otherwise just to bind to a button column to be able to reference it? What if I need multiple button columns? Wouldn’t it be much better to have a column_id property that can be set at design time to reference jqxGrid columns instead of datafield?

    Can you suggest a solution? I need to have a button column with at least a “Delete” button that I need to be able to hide from all users except administrators.

    Thanks,
    Sacha


    korell
    Participant

    Peter,

    Have you added a callback function or found another workaround for this problem within the last two years? If not, can you elaborate on the option that you mentioned in your last post (“specify a CSS class in the returned HTML string”)?
    I have the same problem as certain rows in my grid are color coded depending on certain conditions/statuses, yet it would still be nice to have different row/cell background colors for hovering.

    I’m sure alexx and I are not the only ones that are faced with this as color-coding/highlighting rows is fairly common.

    Thanks,
    Sacha

Viewing 2 posts - 1 through 2 (of 2 total)