init () {
    super.init()

    this.constants.classes.dropup = 'dropdown-menu-up'

    $('.modal').on('click', '[data-close]', e => {
      $(e.delegateTarget).removeClass('show')
    })
  }
@author Dustin Utecht
https://github.com/wenzhixin/bootstrap-table/