Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

grid.insertRow doesn't display new row if the grid was initially empty #36

Closed
dheerajaggarwal opened this issue Feb 1, 2013 · 5 comments
Labels
Milestone

Comments

@dheerajaggarwal
Copy link

Steps to reproduce:

  1. Initialize grid instance with empty collection
  2. grid.insertRow doesn't insert new row in the grid
@wyuenho
Copy link
Contributor

wyuenho commented Feb 1, 2013

Somewhat related to #32 as inserting a new row with a model with a required datetime column will throw an exception.

@dheerajaggarwal
Copy link
Author

No, it is not related to #32 and I have seen all of your open/closed issues
list. I will provide jsfiddle for that.

On Fri, Feb 1, 2013 at 11:18 PM, Jimmy Yuen Ho Wong <
notifications@github.com> wrote:

Somewhere related to #32 #32.


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-13005311.

Regards,
Dheeraj Kumar Aggarwal

@dheerajaggarwal
Copy link
Author

Please check this jsFiddle: http://jsfiddle.net/p2n9P/3/

Another improvement if you like: If grid is initially empty then instead of showing just header row, add a blank row stating a message something like "No records to display"

wyuenho added a commit that referenced this issue Feb 2, 2013
@wyuenho
Copy link
Contributor

wyuenho commented Feb 2, 2013

Let me know if this still happens on 0.2.0-wip

@wyuenho wyuenho closed this as completed Feb 2, 2013
@dheerajaggarwal
Copy link
Author

Yes, this is working now. Thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants