Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Unable to hide grid lines in react spreadsheet
posted

After passing areGridlinesVisible={false} in 

<IgrSpreadsheet
   ref={spreadsheetRef}
   height="calc(100dvh - 120px)"
   width="100%"
   isFormulaBarVisible={false}
   areGridlinesVisible={false}
   areHeadersVisible={false}
/>
Still, the gridlines and headers are showing

 

Parents
  • 34790
    Verified Answer
    Offline posted

    Hello Jeevan,

    My team and I have done an initial review of this post, and are the gridlines enabled in the Workbook that you are loading to the IgrSpreadsheet, assuming that you are loading one?

    I ask, as the setting on the IgrSpreadsheet will be overridden by the Workbook that you load if the headers and gridlines are enabled in the corresponding Workbook / Worksheet. If you want to prevent this when loading the Workbook / Worksheet, you can do so by setting the Worksheet object’s displayOptions.showGridlines and displayOptions.showRowAndColumnHeaders properties to false.

    Please let me know if you have any other questions or concerns on this matter.

Reply Children