Working on the dynamic display funtion with edit and delete inside.