how to add menu in record and move from one to another menu

lets say i have added 4 buttons next to the header what do i need to do when i click on that button it should display different data in that menu tab.

Suppose if i click on education details it should display degree related info.

Hi Rohith,

 

If you want to show specific fields upon clicking a button, you might want to use “hide/show fields” API. And every time button click event is called, hide/show fields is changed on record details page. Here is an example of the code.

 

 educationDetailsButton.onclick = function() {

     // hide/show fields API

      kintone.app.record.setFieldShown("fieldcode","true/false")

 };  

 

▼ Record Details Event Under “Show/Hide fields”
https://developer.kintone.io/hc/en-us/articles/213149167-Record-Details-Event#action1