Skip to main content

Posts

Showing posts with the label cannot find module 'angular2/core'

cannot find module 'angular2/core'

In Visual Studio 2013, the configurations of typescript is little bit challenging but you can configure typescript manually easily. Following steps as given below. Step 1 In the Step1, right-click on your project and Unload Project. Step 2 In the Step 2, right-click the unloaded project and edit to .csproj file. Step 3 In the Step 3, add a PropertyGroup node in under the project node which is given below.   < PropertyGroup Condition = " '$(Configuration)' == 'Debug' " >     < TYPESCRIPTTARGET > ES5 </ TYPESCRIPTTARGET >     < TYPESCRIPTJSXEMIT > NONE </ TYPESCRIPTJSXEMIT >     < TYPESCRIPTCOMPILEONSAVEENABLED > TRUE </ TYPESCRIPTCOMPILEONSAVEENABLED >     < TYPESCRIPTNOIMPLICITANY > FALSE </ TYPESCRIPTNOIMPLICITANY >     < TYPESCRIPTMODULEKIND > COMMONJS </ TYPESCRIPTMODULEKIND > ...

Export ng-grid data to Excel, CSV and PDF format in angularjs

In the 1st Step, we write a plug-In class for exporting ng-grid data to CSV, excel and PDF formats. In this plug-In, we add the export CSV link in footer tab.  Stayed Informed – Angular2 ng-if else Stayed Informed – Angular2  ng-show The name of plug-In class is " pluginNgGridCVSExport " which are give below . ? 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 function pluginNgGridCVSExport(options) {      var self = this ;      self.grid = null ;      self.scope = null ;      self.init = function (sco...