js/

directory
v0.0.0-...-df6f32d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2021 License: MIT

README

Admin

App.Views.Backend

  • Validates required options
  • closes or removes View and its child Views

App.Views.GridManagerContainerToolbar

  • Responsible for hiding edit button

Events

    events: {
        'click .btnAdd': 'addGridRow',
        'click .btnEdit': 'editGridRow',
        'click .btnDeleteChecked': 'deleteCheckedRows',
        'click .btnClearStored': 'clearStoredColumnState',
    }

App.Views.ManagedGrid

Events

    events: {
        'focusin tbody tr': 'refreshView',
        'mouseenter thead th button': 'showColumnHeaderLabel',
        'mouseenter tbody td': 'showTruncatedCellContentPopup',
        'mouseleave tbody td': 'hideTruncatedCellContentPopup',
        'click tbody td': 'hideTruncatedCellContentPopup',
        'click .overlay-top,.overlay-bottom': 'showRadioBtnEditHelpMsg',
    }

renderGrid(e, saveStateKey)

  • Responsible for rendering backgrid
  • Sets up backgrid events for inline editing and refreshing view when the backgrid collection is reset or a model in the backgrid collection is edited
  • Shows a popup of cell content if some of the content is hidden

_refreshView(e)

  • Responsible for setting the current row for the grid
  • Setting the model id of the current row or null if there aren't any rows, to local storage
  • Positioning the overlays over the remaining grid rows to help eliminate race conditions

Directories

Path Synopsis
jquery-file-upload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL