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
Navin Selvaraj23Navin Selvaraj23 

Custom Table With Fixed Header

Hello everyone,

I have an urgent requirement. I need to create a table with fixed header, fixed left column, fixed right column with both horizontal and vertical scrolling.

PFB the screenshot of the table. Please provide me the code if possible. 
Table image
i got vertical and horizontal scrolling. But i got issue in header and not able to make a fixed left column.

I have not used lightning data table.
I have used norma html table along with CSS. I am not good in css. So please help me with some working code with code in lightning component and css in style.css
Best Answer chosen by Navin Selvaraj23
Khan AnasKhan Anas (Salesforce Developers) 
Hi Navin,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://stackoverflow.com/questions/15811653/table-with-fixed-header-and-fixed-column-on-pure-css

https://jsfiddle.net/wvypo83c/940/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas