Interactions between components has been more and more of a necessity. In a component, we can easily bind functions and even send data back to the parent within this function (https://morrisdev.com/2016/08/angular-components-with-bound-functions-using-typescript/)However, triggering an event in the child by the parent is a big more convoluted. You can see several options here http://stackoverflow.com/questions/37439300/communicating-events-from-parent-to-child-in-angularjs-components and they are all […]
Getting the Selected Row from a KendoGrid
There are several ways to accomplish this. I’ve got a grid with 2 columns defined: this.gridOptions = { dataSource: this.mydata, columns: [ { field: “office_group_id”, title: “ID” }, { field: “group_name”, title: “Group Name” } ] } } With Kendo Grids, you can get the data from a grid like this: with the javascript event […]
Using LocalStorage & SessionStorage to speed things along
Populating form data by using AJAX data sources are an excellent way to speed up your website. However, if you are populating multiple data sets each time you open a form, then the application can become so chatty that it actually becomes slower than pre-processing the entire thing! With HTML5 local storage options, you can seriously speed up your website. With an SPA, we often run into the “back” button resulting in us having to run a search again so the user sees the same search results they had before. Now, we can jam those search results in a local cache and bring them back up without calling the server again.
- 1
- 2
- 3
- …
- 6
- Next Page »