Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface unification proposal #368

Closed
dstrozynski opened this issue Jan 24, 2013 · 2 comments
Closed

Interface unification proposal #368

dstrozynski opened this issue Jan 24, 2013 · 2 comments

Comments

@dstrozynski
Copy link

The interface for removing rows looks like this:

handsontable('alter', 'remove_row', index, [toIndex])

and the interface for adding rows looks like this:

handsontable('alter', 'insert_row', index)

It would be good - I think - if it could be more unified in the form of:

handsontable('alter', 'remove_row', startIndex, [numberOfRows])
handsontable('alter', 'insert_row', startIndex, [numberOfRows])

@warpech
Copy link
Member

warpech commented Feb 21, 2013

Good idea. I will implement it soon.

warpech added a commit that referenced this issue Mar 8, 2013
@warpech
Copy link
Member

warpech commented Mar 8, 2013

This is now implemented in Handsontable 0.8.11. Thanks for the inspiration. Please test it if you happen to have some free time :)

@warpech warpech closed this as completed Mar 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants