
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
backgrid-orderable-columns
Advanced tools
Warning! This extension is not production ready yet, just a mere proof of concept. It lacks documentation, automatic testing and edge-case tests.
To discuss this extension, see this backgrid issue.
Online demo of can be found here
// Setup sortable column collection
var columnCollection = Backgrid.Columns.extend({
sortKey: "position",
comparator: function(item) {
return item.get(this.sortKey) || 999;
},
setPositions: function() {
_.each(this.models, function(model, index) {
model.set("position", index + 1, {silent: true});
});
return this;
}
});
var columns = new columnCollection(columnsArray);
columns.setPositions().sort();
// Add sizeable columns
var sizeAbleCol = new Backgrid.Extension.sizeAbleColumns({
collection: pageableTerritories,
columns: columns
});
$backgridContainer.find('thead').before(sizeAbleCol.render().el);
// Make columns reorderable
var orderHandler = new Backgrid.Extension.OrderableColumns({
grid: pageableGrid,
sizeAbleColumns: sizeAbleCol
});
$backgridContainer.find('thead').before(orderHandler.render().el);
Copyright © 2014 Fortes Solutions.
Licensed under the MIT license.
This extension was created by Wilbert van de Ridder and is currently maintained by Fortes Solutions Team.
FAQs
Backgrid.js extension for (re)orderable columns.
The npm package backgrid-orderable-columns receives a total of 398 weekly downloads. As such, backgrid-orderable-columns popularity was classified as not popular.
We found that backgrid-orderable-columns 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
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.