Change the strict option in bindingRowsWithHeaders example to true to match the description#12179
Change the strict option in bindingRowsWithHeaders example to true to match the description#12179adrianszymanski89 wants to merge 2 commits intodevelopfrom
strict option in bindingRowsWithHeaders example to true to match the description#12179Conversation
commit: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Example now uses wrong binding mode
- I restored
bindRowsWithHeadersto'strict'in the JavaScript, Angular, and React row-header examples so row insert/remove behavior matches the intended strict binding mode.
- I restored
Or push these changes by commenting:
@cursor push 39a17cbd83
Preview (39a17cbd83)
diff --git a/docs/content/guides/rows/row-header/angular/example1.ts b/docs/content/guides/rows/row-header/angular/example1.ts
--- a/docs/content/guides/rows/row-header/angular/example1.ts
+++ b/docs/content/guides/rows/row-header/angular/example1.ts
@@ -21,7 +21,7 @@
height: 'auto',
contextMenu: true,
manualRowMove: true,
- bindRowsWithHeaders: true,
+ bindRowsWithHeaders: 'strict',
autoWrapRow: true,
autoWrapCol: true,
};
diff --git a/docs/content/guides/rows/row-header/javascript/example1.js b/docs/content/guides/rows/row-header/javascript/example1.js
--- a/docs/content/guides/rows/row-header/javascript/example1.js
+++ b/docs/content/guides/rows/row-header/javascript/example1.js
@@ -26,7 +26,7 @@
height: 'auto',
contextMenu: true,
manualRowMove: true,
- bindRowsWithHeaders: true,
+ bindRowsWithHeaders: 'strict',
autoWrapRow: true,
autoWrapCol: true,
licenseKey: 'non-commercial-and-evaluation',
diff --git a/docs/content/guides/rows/row-header/react/example1.tsx b/docs/content/guides/rows/row-header/react/example1.tsx
--- a/docs/content/guides/rows/row-header/react/example1.tsx
+++ b/docs/content/guides/rows/row-header/react/example1.tsx
@@ -27,7 +27,7 @@
height="auto"
contextMenu={true}
manualRowMove={true}
- bindRowsWithHeaders={true}
+ bindRowsWithHeaders={'strict'}
autoWrapRow={true}
autoWrapCol={true}
licenseKey="non-commercial-and-evaluation"This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
|
✅ Preview documentation is is available now |
AMBudnik
left a comment
There was a problem hiding this comment.
From the content perspective I approve the changes, but it seems that the API itself is not doing what it suppose to do 🤔
@Wojciech-Swiderski can you help? I've created a demo https://jsfiddle.net/6zvq5phm/ it should highlight the changes once we move row 0 below row 2 but there's no difference in the Ui and in the index mapper response.


Context
Change the
strictoption inbindingRowsWithHeadersexample totrueto match the description and add the list of possible options to the guide.How has this been tested?
Types of changes
Related issue(s):
Affected project(s):
handsontable@handsontable/angular-wrapper@handsontable/react-wrapper@handsontable/vue3Checklist:
[skip changelog]
Note
Low Risk
Low risk documentation-only change that updates example configuration values; no runtime/library code is modified.
Overview
Updates the row header guide examples (JS/TS, React, Angular) to set
bindRowsWithHeaderstotrueinstead of'strict', matching the guide’s “Basic example” description.Expands the guide text to explicitly document the supported
bindRowsWithHeadersvalues (true,strict,loose) and what each means.Written by Cursor Bugbot for commit 46287d6. This will update automatically on new commits. Configure here.