You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jquery.rsLiteGrid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery.rsLiteGrid - npm Package Compare versions

Comparing version

to
1.0.3

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Table with any number of columns and rows, with customized markup on each cell.",
"version": "1.0.1",
"version": "1.0.3",
"homepage": "https://github.com/ruisoftware/jquery-rsLiteGrid",

@@ -8,0 +8,0 @@ "author": {

@@ -70,4 +70,3 @@ /**

opts.cols.forEach(function (col) {
var markup = typeof col.markup === "function" ? col.markup() : col.markup,
$cellCtrl = $(markup || '<input type=\'text\'>');
var $cellCtrl = $(col.markup || '<input type=\'text\'>');
if (col.defaultValue !== undefined && col.defaultValue !== null) {

@@ -406,9 +405,3 @@ if ($cellCtrl.is(DOM.elemsWithValAttr)) {

// But if header is always ommited in every element of cols, then not a single <th> is ever created (and therefore <header> is not created as well).
markup: '<input type="text">', // Control placed on this column. If ommited, then '<input type="text">' is used. Type: String or function().
// You can use a function to set a markup that changes according to the row index. Example:
// markup: function () {
// var name = getNewGroup(); // your own function that returns a unique name for each row
// return '<input type="radio" name="' + name + '" value="male">Male' +
// '<input type="radio" name="' + name + '" value="female">Female';
// }
markup: '<input type="text">', // Control placed on this column. If ommited, then '<input type="text">' is used. Type: String.
defaultValue: null, // Default value. It is used to determine whether the cell has been changed.

@@ -415,0 +408,0 @@ tabStop: true // Whether this column's cells are focusable on keyboard (tab or arrow keys) navigation. If ommited, then true is used. Type: boolean.

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.