Non repeating first TD cell in editor.
Non repeating first TD cell in editor.
I have an editor table that shows order details from an orderdetails table (multiple entries for an order).
The first cell of the table is the order number and instead of repeating the same ordernumber on every line I want to show it for the first iteration but show a blank cell for any other rows that follow.
Is there a way to accomplish this with Editor?
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Not with Editor as this is DataTables specific and not editing - but you could potentially use a
draw
event to loop over the displayed rows and remove / update the HTML displayed.A similar technique is used in the row grouping example.
Allan
Thanks
In the editor JS file I added the following and hid the first cell and it works great: