enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

SohoDataGrid: SohoDataGridOptions missing treeDepth property

Open bthharper opened this issue 4 years ago • 2 comments

Describe the bug

The typings for the datagrid option (SohoDataGridOptions) is missing the treeDepth property.

This requires the use of any in the code, which violates the eslint rules.

To Reproduce

  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  const settings = api.settings as any;
  const depth = settings.treeDepth && settings.treeDepth && settings.treeDepth[row]
    ? settings.treeDepth[row].depth
    : 0;

Expected behavior

  const settings = api.settings;
  const depth = settings.treeDepth && settings.treeDepth && settings.treeDepth[row]
    ? settings.treeDepth[row].depth
    : 0;

Version

  • ids-enterprise-ng: v9.4.0

Screenshots

N/A

Platform

All

Additional context

bthharper avatar Apr 10 '21 14:04 bthharper

Would be a great issue for a PR 👍🏻

tmcconechy avatar Apr 12 '21 13:04 tmcconechy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

github-actions[bot] avatar May 21 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 04 '24 01:06 github-actions[bot]