Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
backgrid-columnmanager
Advanced tools
A backgrid column manager. Adds the ability to show/hide columns.
Manages the backgrid column collection. Adds the ability to toggle column visibility (initially and on the fly) and is able to track, save and load state (width, order and visibility). Online demo
// Create column collection
var columns = new Backgrid.Columns([...]);
var territories = new Backbone.Collection([...]);
// Initialize column manager
var colManager = new Backgrid.Extension.ColumnManager(columns, {
initialColumnsVisible: 4,
// State settings
saveState: true,
loadStateOnInit: true
});
// Add control
var colVisibilityControl = new Backgrid.Extension.ColumnManagerVisibilityControl({
columnManager: colManager
});
$("#control").append(colVisibilityControl.render().el);
// Initialize a new Grid instance
var grid = new Backgrid.Grid({
columns: columns,
collection: territories
});
// Render the grid
$("#grid").append(grid.render().el);
// Listen to state changes
colManager.on("state-changed", function (state) {
console.log("state changed: ", state);
});
colManager.on("state-saved", function () {
console.log("state saved!");
});
This project is originally developed by Wilbert van de Ridder and sponsored by Solodev.
FAQs
A backgrid column manager. Adds the ability to show/hide columns.
The npm package backgrid-columnmanager receives a total of 162 weekly downloads. As such, backgrid-columnmanager popularity was classified as not popular.
We found that backgrid-columnmanager 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.