Skip to content

Magento2.4: How to add a custom column in customer grid and show that if customer is online or offline in that column?

I want to add a custom column in customer grid and want to show that if customer is online or offline in that column.
For example, if customer is online show online in that column against that customer row and if it is offline shows offline in that column against that customer row