opendcs / rest_api

Rest API that serves OpenDCS database objects as JSON
Apache License 2.0
1 stars 2 forks source link

Give the OpenDcsDataTable class the ability to add cell borders. #135

Open wjonassen opened 5 months ago

wjonassen commented 5 months ago

Problem Description

Right now, data tables cannot have cell borders. We need to have the ability to add in cell borders.

Solution

Give the ability, from an OOP perspective, for datatables to have cell borders. This will be an optional object that will be passed into the OpenDcsDataTable constructor, where by default the cell borders will be set to true if this optional object is not passed in.

how you tested the change

Verified the cell borders exist if: 1) The object is passed in with cellBorders = true. 2) The object is not passed in. Verified the cell borders do not exist if: 1) The object is passed in with cellBorders = false;

Where the following done:

sonarcloud[bot] commented 5 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud