Best way to achieve a Table Editor

Hey! Im planning on creating a Table Editor (Similar as datastore editors) for my game but i dont know the best way to achieve it. As the tries i have made are laggy and are not what i expect.

If you dont know what im reffering to, Here’s a quick example: