jQWidgets Forums

jQuery UI Widgets Forums Grid select cell not applying styles

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • select cell not applying styles #19673

    dperry
    Participant

    I have a page with two grids, one is a summary grid, the other is a ‘selected’ grid that displays a single row, the row that was selected from the summary grid. Both have a ‘singlecell’ selection mode.

    The problem is that I’m calling selectcell on the ‘selected’ grid to mirror which cell/column was selected in the summary grid. The ‘cellselect’ event is firing, and I can see that the cell is actually selected by calling ‘getselectedcell’ on the ‘selected’ grid, but the jqx-grid-cell-selected style is not being applied to the cell after making the call. If I then click on the cell with the mouse, the cellselect still fires and the jqx-grid-cell-selected is applied.

    Why is the style not being added when calling ‘selectcell’?

    select cell not applying styles #19686

    Peter Stoev
    Keymaster

    Hi,

    Here’s a sample which uses the “selectcell” method: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/cellsselection.htm?web

    Best Regards,
    Peter Stoev

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

You must be logged in to reply to this topic.