I have made the following table with NonFactors.Grid.Mvc5 library.
columns.Add(model => model.ApplicationName).Titled("Application").Filterable(true).Sortable(true);
I need to find a way to disable column from sorting when user clicks on "Application" column header and allowing sorting only when sort button next to it clicked?
I used stopPropagation method but it does not work.
label.click((e) => e.stopPropagation());
I could do this by using e.stopImmediatePropagation() function. Now it works.