diff options
author | michael.leibman <michael.leibman@daa67922-0c33-11de-a42d-873b86d837ff> | 2009-11-25 04:39:07 +0000 |
---|---|---|
committer | michael.leibman <michael.leibman@daa67922-0c33-11de-a42d-873b86d837ff> | 2009-11-25 04:39:07 +0000 |
commit | 01e301094293441cb1e9fc4aed34b02d38f28701 (patch) | |
tree | 0f0e0b636dbf908b96e2528057e5774309e1e7ab /slick.editors.js | |
parent | b5090db49ce3bc06ba03a25a6074d44cfd2cc790 (diff) | |
download | SlickGrid-01e301094293441cb1e9fc4aed34b02d38f28701.zip SlickGrid-01e301094293441cb1e9fc4aed34b02d38f28701.tar.gz SlickGrid-01e301094293441cb1e9fc4aed34b02d38f28701.tar.bz2 |
Fixed a layout issue in the graphical percent complete editor.
Diffstat (limited to 'slick.editors.js')
-rw-r--r-- | slick.editors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slick.editors.js b/slick.editors.js index 4914f67..1b63bf8 100644 --- a/slick.editors.js +++ b/slick.editors.js @@ -295,7 +295,7 @@ var PercentCompleteCellEditor = function($container, columnDef, value, dataConte $input.val(defaultValue);
}
- $input.width(columnDef.width - 20);
+ $input.width($container.innerWidth() - 20);
$input.appendTo($container);
$picker = $("<div class='editor-percentcomplete-picker' />").appendTo($container);
|