function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Faizan Ali 17Faizan Ali 17 

I want open a box with fields when I click on a cell in my table.

Hi All

I have my own table here:
Table exampleI would like to be able to click on any of the cells inside the table and it will open a box with fields to enter.

For example in the standard view of the SF Calendar it has a button to create a new event when you select a date.

I want this similar functionality but by clicking on a cell inside the table.

Could someone please guide me into achieving this?
LuisMRochaLuisMRocha
Hello, I don't have much context, I would leverage salesforce's datatable instead of going full custom. Depending if this is vf or lwc, here are some links to get started, this will potentially save some time. 

VF
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_inline_editing.htm

LWC:
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/data_table_inline_edit