ValYouW / jqPropertyGrid

A small property grid in JS to view/edit POJOs
MIT License
57 stars 33 forks source link

set values #10

Closed Dawied closed 8 years ago

Dawied commented 8 years ago

Added functionality to set values of specific properties in the propertygrid.

ValYouW commented 8 years ago

Hi,

Why not just set an updated object back to the grid? Added example: http://codepen.io/ValYouW/pen/eZEqWE

Dawied commented 8 years ago

Thanks for that suggestion, didn't think of that. I guess from a performance point of view, the "setValues" sollution is better. Also I like the idea of only updating the value that is changed.

ValYouW commented 8 years ago

@asimov6 Hi, sounds good, would you like to re-submit? If so please rebase on master as I have made some changes - Specifically added jshintrc, jscsrc and editorconfig files to make coding standards easy to follow (can use grunt for jshint and jscs). Tx