I have created a Maintenance View for a Ztable. Now in that table i need to add some buttons which will perform a certain function. How do i go about it and where do i write the code for the function to be performed?