JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › grid with css height auto and add new row fails to display rows after ~3 adds
Tagged: Datagrid
- This topic has 19 replies, 3 voices, and was last updated 5 years, 1 month ago by admin.
-
AuthorPosts
-
September 2, 2019 at 7:12 pm #100283adminKeymaster
Thank you so much – I appreciate the prompt feedback! It allows me to move on to other things while waiting for a fix.
September 26, 2019 at 3:14 pm #100356adminKeymasterI wrote:
There seems to be a problem if the initial number of rows in the data source is 1 or 0. If it is > 1, then new rows that are added are correctly displayed.
admin wrote:We confirm the Grid component issue reported by jtara. We will resolve it in the next update.
I’m afraid that even in 4.5 there is still a problem. It is SLIGHTLY improved.
Now, it no longer fails with only one row.
However, a grid that is initially created with no rows still fails. You will never see the grid content displayed.
There are of course so many use cases for a grid that initially is empty, and then rows are added. We still have to start out with at least one dummy row.
I will write a support request. Just giving a heads-up here for others.September 26, 2019 at 3:17 pm #100357adminKeymasterActually, I need to do a bit more testing, which I will do before submitted a support request.
I have a grid that I populate from an Ajax request. It populates with a modest number of rows > 3 That’s the one that I tried, and I noted that if the grid starts out empty, then it will never show.
I haven’t yet tested if there is still some dependence on number of rows added – e.g. previous behaviour is first 3 adds would show, and after that no more.September 26, 2019 at 3:26 pm #100358adminKeymasterOK, now I tested my grid which is used to display a summary of rows added to a database one by one.
That is, a user fills a form, the form is sent to a server with Ajax, and the Ajax response sends back a row with generated ID, etc. then the row is added to the grid.
This works only if the grid is first populated with one dummy row. I no longer need to add at least TWO dummy rows. And there no longer (in 4.5) is an issue where only the first 3 rows added show.
The issue now is that if the grid starts out empty, the rows that I add are not shown.
So, it is still not completely solved.
I will now submit a support request for this.September 27, 2019 at 1:35 pm #100359adminKeymasterHello jtara,
We are unable to reproduce such issue. If you encounter an issue in your application, then please share codepen example, which demonstrates it.
Regards,
George
Smart HTML Elements
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.