这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@wikumChamith
Copy link
Member

No description provided.

@wikumChamith wikumChamith requested a review from dkayiwa October 2, 2024 14:07


noCell: function() {
var td = document.createElement("td");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intentionally remove this?

Copy link
Member Author

@wikumChamith wikumChamith Oct 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. If we keep the display value of the element "none" we get a table similar to this.

Screenshot from 2024-10-02 19-49-16

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean it has been like that and no body has ever seen it? Or was it caused by something else?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. That's how HTML works.

    <table border="1">
        <tbody>
        <tr>
            <td>Hello</td>
            <td>World</td>
            <td>Hello</td>
        </tr>
        <tr>
            <td>Hello</td>
            <td style="display: none"></td>
            <td>Hello</td>
        </tr>
        </tbody>
    </table>

For example this HTML code outputs this:

Screenshot from 2024-10-02 20-23-08

@dkayiwa dkayiwa merged commit 528e938 into openmrs:master Oct 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants