[Suggestion] "Orthogonal Column Definition" data attribute in table header

[Suggestion] "Orthogonal Column Definition" data attribute in table header

diegomonttdiegomontt Posts: 1Questions: 1Answers: 0
edited July 2014 in Free community support

Hello, I don't know if it is posible, but it would be nice if you could add the "Column Definition" in data-attributes from the table header (or maybe the colgroup element)
Or maybe just the column name for using it in the api.

Eg:

<table>
    <thead>
        <tr>
            <th data-name='my_column' data-type='numeric' ...> Column 1</th>
            ...

Edit: wrong topic, it is not a question, its more like a discussion topic. Admin, please move if needed (I don't seem to find a "move category option")

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Agreed!

    You might be interested in this pull request which implements exactly that.

    I haven't had time to look at in detail myself yet, but the basic idea looks fine.

    Allan

This discussion has been closed.