When too many rows are selected for removal, my data array is overwritten

When too many rows are selected for removal, my data array is overwritten

tmetzgertmetzger Posts: 2Questions: 1Answers: 0

Hi folks,

I've been a datatables and editor user for a long time and it's great. Normally removing rows server-side works well, but when too many rows are selected (like over 30), the custom data parameter I need on the server side is omitted. It's the class of the object that will handle the request.

Here's my editor config:

      editor = new $.fn.dataTable.Editor({
        ajax: {
          url: '/g4datatables_ajax_edit_router',
          data: {
            class: settings.tableClass,
          },
        },
        table: "#datatable",
        fields: settings.tableEditFields,
      });

That "data.class" element doesn't get sent when too many rows are selected.

Any tips about what might be happening, and how I might proceed to fix it?

Thanks,
Tom

Answers

Sign In or Register to comment.