Did someone else have this error before?
I forgot to mention this happens in the datatable edit when I try to press new or edit a row in the datatable.
This is the code used:
<script type="text/javascript"> var editor; $(document).ready(function () { editor = new $.fn.dataTable.Editor({ ajax: "/BulkEdit/IndexJson", table: "#bulkEdit" }); $('#bulkEdit').DataTable({ dom: "Bfrti", ajax: "/BulkEdit/IndexJson", select: true, columns: [ { data: 'Name' }, { data: 'Description' }, { data: 'Category' }, { data: 'StartingBid' }, { data: 'BidIncrement' } ], buttons: [ { extend: "create", editor: editor }, { extend: "edit", editor: editor }, { extend: "remove", editor: editor } ] }); }); </script>
Start with defining the fields you want to edit with the fields. See this example.
fields
Kevin
hi i'm struggling wiith the same issue , did you solve it?
Maybe it will be useful maybe not..... but i found that including jquery and jquery-ui fix the problem.
You just have to include :
-javascript
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js" type="text/javascript"></script>
-and css
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" type="text/css" media="all" />
Hope to save the day to other devs. Peace
@osma1k90 Thanks for reporting back,
Colin
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
I forgot to mention this happens in the datatable edit when I try to press new or edit a row in the datatable.
This is the code used:
Start with defining the fields you want to edit with the
fields
. See this example.Kevin
hi i'm struggling wiith the same issue , did you solve it?
Maybe it will be useful maybe not.....
but i found that including jquery and jquery-ui fix the problem.
You just have to include :
-javascript
-and css
Hope to save the day to other devs. Peace
@osma1k90 Thanks for reporting back,
Colin