jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Row Unselect

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Row Unselect #95836

    ashvani18
    Participant

    Hi Team,

    I have a requirement that if user select a row then based on logic I want to prevent the row selection (row highlight), I am trying to handle that in code in below way –

    grid.rowselect = function(event) {
    if(logic){
    I want to prevent the row selection
    }
    }

    but it is not working , if I put the unselection code in timeout then it works but it creates some UI fluctuation. is there any clean way of doing it?

    Grid Row Unselect #95877

    Peter Stoev
    Keymaster

    We do not have cancel events in the Grid unfortunately, May be use can use selectrow, unselectrow APi.

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

You must be logged in to reply to this topic.