I'm creating a bootstrap table responsive using a repeat control and it works fine, but now I want to add a button related to each row. I have this working if I just use a repeat control but not the table-responsive. I build the table row values with a computed field with the output as HTML and this works until I start to add the button. I can add a <button></button>
to the code but when I use <xp:button></xp:button>
it dos not display properly. I'm using this code to build the table rows:
rtn = "<tr><td align='center'><xp:button value='remove' id='button1' ></xp:button></td><td>" + expPayDate +"</td><td>" + actualPayDate + "</td><td align='right'>" + amount + "</td><td align='center'>" + paymentID + "</td></tr>"
I then have a fairly extensive onClick event and also a rendered formula which becomes very cumbersome to enter into the in-line code. I have the button working when I just format it and the row data in a repeat control but from a usage point I would like to have a table-responsive. Is there a way to make this work, and a better way to build the table rows.