Skip to content

'grid.js' directive available #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eoinjoyc opened this issue Nov 23, 2015 · 0 comments
Open

'grid.js' directive available #3

eoinjoyc opened this issue Nov 23, 2015 · 0 comments

Comments

@eoinjoyc
Copy link
Contributor

I created a new angular directive which uses the ADF's slickgrid references. It creates a grid with a simple HTML call, and uses scope variables to set data, options, columns, and onRowClick references. The directive also contains container and pager directives, and adds grid message functionality, allowing the user to specify messages from when the grid is empty and when data is loading.

I can generalize some of the features so its incorporated into the ADF library. Let me know if anyone wants this directive added to the library.

<div qui-grid-container header="{{cveGridHeaderText}}" id="cvesGridContainer">
    <div id="cveGrid" qui-grid
        data="cveGrid.data"
        options="cveGrid.options"
        columns="cveGrid.columns"
        on-select="onCveGridRowSelect(e, args)"
        no-data-message="cveGrid.noDataMessage"
        is-loading="cveGrid.isLoading"              
        loading-message="cveGrid.loadingMessage">
    </div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant