"
πŸš€ DataGridXL3 Out Now! See what's newβ†’
NOTE: DataGridXL requires a commercial license.
Create an account to download a trial version of DataGridXL to follow the steps in this tutorial.

DataGridXL β€” Docs

Built-in Column Types

Column Type: Rating

The rating column type turns values 1 to 5 into stars, similar to rating systems like those found in Google Maps Reviews, Netflix, Airbnb, Uber, Booking.com and so on.

Code

javascript
const columns = [
  // ...
  {
    title: "Popularity",
    type: "rating"
  }
]