rowGroup click
rowGroup click

Hello,
I am using rowGroup with a button appended to the group heading:
rowGroup: {
dataSrc: 'dirRootName',
startRender: function( rows, group ){
return $('<tr/>')
.append( '<td/><td>/'+group+'/</td>' )
.append( '<td colspan=100%><button class="dt-button editorAppend">Add Subdirectory</button></td>' )
}
}
I want a button click to provide the group_ID. I'm unsure as to how to get the group_ID as the function only offers group and not group_ID.
Any ideas?
Many thanks,
Steve
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I'm not clear what you mean by group_ID? Is that the group value, or something else? If you could link to a test case or your own page, that would help our understanding.
Colin
Hi Colin,
Thank you for your message.
The group_ID is the ID associates with the group value. However, I have resolved the issue by interrogating rows. Thank you for your patience. I've marked it as answered.
Steve