How to change code from Gallery View to Grid View using same practical

Published --