Code Monkey home page Code Monkey logo

angular-crud-table's Introduction

Editable Angular grid

This project was generated with Angular CLI version 7.1.3.

Features

For demo go to Angular-CRUD-table

For youtube video tutorial to integrate with D365 form go to Integrating an editable Angular grid on D365 form

This was buit with the help of Angular Material.

This table is supposed to do the following:

  • Retrieve
  • Create
  • Update
  • Delete
  • Filter
  • Sort
  • Pagination

Notes

It retrieves data from webapi service by http get request. For developement purpose the data (stored as json) is retrieved locally from the "assets" folder.

crm-webapi-service.service.ts is the service created in angular for webapi calls to Microsoft Dynamics 365 environment

Delete, Update, Create option will throw a console log message "Something bad has happened" but that is because service call isn't authorised. Still the selected rows to delete will be deleted in the browser. Refreshing the page will load the deleted data again.

Column names have been hard-coded, but can be generalised.

index.html, main.js, polyfills.js, runtime.js, styles.js, assets has also been copied to the root location so that the demo page works.

Before publishing the index.html webresource in crm system the below base href location needs to be changed to your organisations url

Also each of the js files should be prefixed with the publisher's style, eg. "main.js" as "new_main.js"

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

angular-crud-table's People

Contributors

ginow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.