Tag: web development

  • 📅 How to Format and order dd-mm-yyyy Dates in jQuery DataTables 📅

    📅 How to Format and order dd-mm-yyyy Dates in jQuery DataTables 📅

    If you’ve ever worked with DataTables, you may have encountered issues with how dates are displayed. By default, DataTables will display dates in a format that may not be easily readable or sortable. However, with a few simple tweaks, you can format your dates to display exactly how you want them. First of all your…

  • Angular JSON to CSV pipe

    Angular JSON to CSV pipe

    👋 Hey there! Are you working on an Angular app that needs to convert JSON data to CSV format? Look no further than the jsontocsv pipe! Here is the code: 🧐 Let’s take a closer look at how this pipe works. First, it defines a private function called flatten that takes an object and returns…

  • Handy angular CSV to JSON pipe

    Handy angular CSV to JSON pipe

    Today, we’re going to talk about a code snippet that can turn CSV data into JSON format using Angular. 🤖💻 First things first, let’s take a look at the code: This is a TypeScript class that defines an Angular pipe called CsvtojsonPipe. A pipe is a way to transform data in Angular. The transform method…

  • Fix for Angular template Autocomplete.

    Fix for Angular template Autocomplete.

    👋 Hey there, Angular developers! Do you use Visual Studio Code as your code editor and find yourself missing out on Angular template intellisense? 😩 Fear not, there’s a simple fix that can help you get the most out of your development experience! One of the reasons why you might not be getting Angular template…

  • Fix for prettier splitting HTML tags in VSCode

    Fix for prettier splitting HTML tags in VSCode

    🎉🎉🎉 ng on an Angular application can be a joyous experience, but when prettier starts splitting your HTML tags, it can quickly turn into a nightmare 😱. Fear not, for I have found a solution that will have you dancing 💃 in your chair with joy. After trying a few different settings, it turned out…