You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use DataTables and combined it with "open dialog on doubleclick". Because of lots of Entities (>20k) I switched to your Bundle. Everything works fine but I have to extend the of each row with css classes and a data-id property.
Old Code:
`{% for h in entities %}
{{ h.name }}
{{ h.description }}
{% endfor %}
<script>
$(document).on("dblclick", ".opdia", function () {
var editId = $(this).data('id');
var res = "";
var success = false;
var url = "XXXXXXXXXX?xid=" + editId;
$.when(
$.ajax({
type: 'GET',
url: url,
success: function (response) {
res = response;
success = true;
},
error: function () {
//handle error
},
})).then(function () {
if (success)
{
$("#myModal").html(res).modal("show");
}
});
});
</script>
`
Is it possible to customize the row-rendering?
The text was updated successfully, but these errors were encountered:
Hi,
I use DataTables and combined it with "open dialog on doubleclick". Because of lots of Entities (>20k) I switched to your Bundle. Everything works fine but I have to extend the of each row with css classes and a data-id property.
Old Code:
<script> $(document).on("dblclick", ".opdia", function () { var editId = $(this).data('id'); var res = ""; var success = false; var url = "XXXXXXXXXX?xid=" + editId; $.when( $.ajax({ type: 'GET', url: url, success: function (response) { res = response; success = true; }, error: function () { //handle error }, })).then(function () { if (success) { $("#myModal").html(res).modal("show"); } }); }); </script>`{% for h in entities %}
{{ h.name }}
{{ h.description }}
{% endfor %}
`
Is it possible to customize the row-rendering?
The text was updated successfully, but these errors were encountered: