How trigger filterMenuInit event every time we click on the filter

2 posts, 0 answers
  1. Niloofar
    Niloofar  avatar
    24 posts
    Member since:
    Jan 2015

    Posted 04 Apr 2016 Link to this post

    I am creating my own filters on filter initialization and i need to do some logics and adding values in my filter inputs every time the user click on the filter, but the issue is that filterMenuInit is being fired only once. i was wondering how i can raise this event again, or is there any other event which is being raised on the clicking on the filter?

    var initializedFilterMenu = function (e) {
    //my logic
    var gridOptions = {
      dataSource: dataSource,
      columns: gridColumns,
      editable: gridEditable,
      pageable: {
        refresh: true, //if set to true, it will show refresh button,clicking on that will make the grid to refresh
        numeric: false,
        previousNext: false,
        messages: {
          display: "Loaded {0}-{1} from {2} data items"
      height: gridHeight,
      scrollable: {
        virtual: true,
      groupable: gridGroupable,
      filterable: gridFilterable,
      sortable: {
        mode: "multiple"
      filterMenuInit: initializedFilterMenu,  // The initializedFilterMenu event is raised when the filter menu is initialized.
    var grid = Ember.$("#kendo-grid").kendoGrid(gridOptions).data('kendoGrid');
    _this.set('kendoGrid', grid);

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 05 Apr 2016 Link to this post

    Hello Niloofar ,

    I would suggest you to see the approach provided in the forum thread below:

    and see if this helps.

    Maria Ilieva
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top