
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
jquery-datatables-odata
Advanced tools
jQuery DataTables OData connector enables standard jQuery DataTables plugin to display data provided by OData service. Beside displaying, it allows you to filter, sort, and navigate through the data. There are several versions of OData services (v4, v3, a
#jQuery DataTables OData connector
jQuery DataTables OData connector enables standard jQuery DataTables plugin to display data provided by OData service. Beside displaying, it allows you to filter, sort, and navigate through the data. There are several versions of OData services (v4, v3, and v2), which return results in different formats. This connector handles all of these versions (and you simply need to specify a version through "iODataVersion" parameter).
Steps:
Example:
$('table#products').dataTable({
"sAjaxSource": "http://services.odata.org/V4/OData/OData.svc/Products",
"iODataVersion": 4,
"aoColumns": [
{ mData: "Name" },
{ mData: "Description" },
{ mData: "Rating", sType: 'numeric' },
{ mData: "Price", sType: 'numeric' },
{ sName: "ReleaseDate", sType: 'date' }
],
"fnServerData": fnServerOData, // required
"bServerSide": true, // optional
"bUseODataViaJSONP": true, // set to true if using cross-domain requests
});
Note: For full example take a look at submitted html pages.
Functionality for connecting to OData service is placed in the fnServerOData function defined in jquery.datatables.odata.js. This function should be set as the value of "fnServerData" parameter.
If dataTables is used in server-side processing mode, date columns and numeric columns should be marked as such using "sType" parameter (because OData service cannot perform text search against these fields). Also, for cross-domain requests you need to set "bUseODataViaJSONP" parameter value to true.
FAQs
jQuery DataTables OData connector enables standard jQuery DataTables plugin to display data provided by OData service. Beside displaying, it allows you to filter, sort, and navigate through the data. There are several versions of OData services (v4, v3, a
The npm package jquery-datatables-odata receives a total of 9 weekly downloads. As such, jquery-datatables-odata popularity was classified as not popular.
We found that jquery-datatables-odata demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.