Replies: 2 comments
-
Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. Yes, it turns out row 341 (as also some other rows later in the dataset) contained a field set to NULL as a result of the LEFT OUTER JOIN. I can get round that easily by using ifnull in the SELECT statement. What threw me though, is that the aggrid itself works perfectly even with the NULL values, it's the link between the Aggrid property used to store the jp.Div on the webpage (as referenced by the rowselected event) that seems to break. |
Beta Was this translation helpful? Give feedback.
-
Hello,
New to justpy but loving what I've seen so far. I've been playing around with the Grid Events example 1 tutorial, plugging in my own data source from an MS SQL Server database and I think I may have uncovered a possible issue. In the code below the Div gets updated exactly as it should as long as I retrieve no more than 340 rows from this particular database. If I try to retrieve more, although the event gets triggered and row_data_div.text is assigned the correct value, this isn't reflected on the webpage and the Div continues to display just 'Testing'.
Any ideas?
Phil
Just to add, I have since tested this using an identical table in sqlite and the result is exactly the same – works fine if I limit the number of rows returned to 340, but any more than that and the Div element stops being updated on the page.
Beta Was this translation helpful? Give feedback.
All reactions