diff --git a/README.md b/README.md index fbd36bc..0d1946f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ gamalielmendez's fork added: This fork added/fixed: - Render "" instead of "undefined" if no data - Changed `on:change` to `on:blur` per warning message -- Added tableWidth prop, allow last column to have auto width +- Added tableWidth prop, allow last column to have auto width (overriding width settings for last col) - Fixed input loses focus - Added debounce - Fixed dispatch diff --git a/src/index.svelte b/src/index.svelte index 676606a..7123480 100644 --- a/src/index.svelte +++ b/src/index.svelte @@ -162,7 +162,7 @@ export let EnableCursor = false; export let CurrentSelectedRow = 0; export let Striped=false; - export let tableWidth=0; // allow user to define table width + export let tableWidth = 0; // allow user to define table width. Defining this will __override__ last col's width settings to the reminding width export let onCellUpdate = () => {} export let onHeaderUpdate = () => {} @@ -1009,13 +1009,14 @@