Updated the widget at Git Hub, submission in app store soon:
Update 2.1 in the app store Added:
Tested with Mx 5.3
An other idea for a much requested feature that would be a great addition to your widget.. Add an click event on a column that requests a microflow with the clicked object.
This makes it possible to trigger action directly form a row (like edit, duplicate row, order, e.t.c.)
On request I added new feature to the Data Grid Extension. Buttons inside grids (see also test project)
The update is placed in GitHub Data Grid Extension, (Click Raw) File be uploaded available in the appstore when Mendix fixes the broken file upload. (Ticket 101639)
Release notes Version 2.4
We tried using the conditional coloring of a datagrid, but we're using a non-persistant entity which is not allowed. What's the reason for this limitation, and is there any way to circumvent this?
The update is placed in GitHub Data Grid Extenson, (Click Raw) File be uploaded available in the appstore when Mendix fixes the broken file upload. (Ticket 101639)
Release notes Version 2.3
After updated from 5.9 to 5.11 the buttons for next row doesn't work anymore. The cursor jumps to the next row of the grid but after that it jumps directly to the first row.
Yes the option "Select first" = Yes. But it was also the situation in 5.9
Andries, we use your widget in our project(s). But we encountered one thing:
This causes an infinite loop while loading the page with the widget on it.
Workaround is to disable one of these settings. However, would be nice if the widget didn't hang because of this.
I am trying to implement this widget and I am not having any luck, how does one implement this widget?
I have 1 entity (this is all just created for testing on how this widget works.) 1 data-grid.
That menu that is shown on the video, does it need to be created manually?
Any help will be appreciated.
Please check the test project on github (note that this is version 2.1, in the appstore had v2.0) https://github.com/Andries-Smit/DataGridExtention/blob/master/Test/TestProject_DataGridExtension.mpk
In the widget you need to enable the feature you like to have: In the tab 'Header' the option 'Flex Header' (When true, columns can Moved, store sort order and hidden. Can not be used in combination with responsive Columns)
Maybe I looked in the wrong place, but I noticed v2.1 isn't available yet?
Some really nice features, and a must-have widget for any project if you ask me! Keep up the good work!
Thanks again for this amazing widget. It should be part of the Mendix standard framework to make it a bit easier to configure.
Anyway, I have a little problem. Probably a CSS issue, but maybe you have some ideas. When right clicking on a column header, the dropdown I get my browser menu and the menu from the widget is loaded some where in de middle of the screen.
What can be done about this?
@Shruthi Rao, please ask a questions in a new 'answer' not in a 'comment' to keep the thread clean .
Shruthi Rao: This widget works well. To achieve control bar button visibility, I am not getting where to use showOnRowSelect and how to use it. Could you please help me out?
Andries Smit: please update your widget from gid hub, it has probably a fix for your issue.
Shruthi Rao: It worked!! Thanks! Shruthi Rao: But, even after updating the widget its not working in popup. For popups is there any extra config needed?
Andries Smit: no, there is no extra setting needed. It should work, but have not tested it with a popup. Please create an issue on github. https://github.com/Andries-Smit/DataGridExtention/issues
Tested in the sample project. And pop-up seems to work. Make sure you have the widget in the popup as well (placed correctly in a table in the cell below the datagrid)
Hi - we are experimenting with this widget and it looks great so far. Is there anyway of displaying the 'Columns' menu option on a button click rather than as part of a menu. This is the list of columns to show/hide - would be great to get this as a separate feature rather than having to click through to a sub menu?
Thanks again - great work.
Thank you for this great widget! I use it for every datagrid I implement. I 'm trying to set the background color for a table row when an boolean attribute in the row is true. So I set the grid entity the same as the entity of the above datagrid and select my boolean attribute. In the Class Mapping I set the key to true and I set the CSS Class.
<tr class="mx-name-index-1" data-id="291" tabindex="1"><td data-id="292" class="mx-name-column4 mx-right-aligned" title="1001">
Now I can't find the CSS class on the row when I try to find it in the browser through 'inspect element'. Do I do something wrong? Or is Mendix version 5.13.1 not supported?
Thank in advance
We're having trouble with the widget (without context) in Mendix version 5.15.1. It gives the error 'error in create widget:TypeError: Cannot read property 'undefined' of undefined' when used in a new test project. When used in an existing project, the error is slightly different: 'error in create widget:TypeError: Cannot read property 'declaredClass' of undefined'.
Any thoughts on possible causes of this error?
PS: I've also tried the widget in a new test project in Mx 6.1.0, but that results in the entire application not rendering in the browser once the widget is added to a page (all pages are blank).
Screenhost in 5.15.1 test project: