toggleRowSelection(selection, data) {
      if (data.children) {
        data.children.forEach(val => {
          crud.getTable().toggleRowSelection(val, false)
          if (val.children) {
            crud.toggleRowSelection(selection, val)
          }
        })
      }
    }
/**
     * Toggle selected state
     * @param selection
     * @param data
     */
Toggle selected state
@param selection
@param data
Toggle selected state @param selection @param data
toggleRowSelection(selection, data) {
      if (data.children) {
        data.children.forEach(val => {
          crud.getTable().toggleRowSelection(val, false)
          if (val.children) {
            crud.toggleRowSelection(selection, val)
          }
        })
      }
    }
toggleRowSelection ( selection , data ) { if ( data . children ) { data . children . forEach ( val => { crud . getTable ( ) . toggleRowSelection ( val , false ) if ( val . children ) { crud . toggleRowSelection ( selection , val ) } } ) } }
Toggle selected state
 @param selection
 @param data
Toggle selected state @param selection @param data