Hi
I want some clarification on the new IgrGrid (www.infragistics.com/.../data-grid).
1) Earlier in IgrDataGrid we have IgrDateTimeColumn in which we can display DateTime in our format but now in IgrGrid we have IgrColumn in which I'm unable to display DateTime in this format -> (dd/mm/yyyy, hours:min:sec AM). I used the same approach that I have used earlier but the format which is appearing on the UI is (month date, year,hours:min:sec AM) eg: (July 20, 2023, 10:14:06 AM). So how can I display the same in (dd/mm/yyyy, hours:min:sec AM) format (eg: 07/10/2023, 10:14:06 AM).
2) Earlier in IgrDataGrid we set a property "sortable:true" in a column in order to give the functionality of sorting and same we can do in IgrGrid, but in IgrDataGrid the sorting indicator can only be seen when we click on the header but in IgrGrid the sorting indicator can be seen from the very starting. So, how to display the sorting indicator only when we click on the header?
3) In IgrDataGrid we have grid.loadLayout() (at time of grid ref) option but now in IgrGrid I'm unable to find this option. So how to use loadLayout and saveLayout thing in IgrGrid?
4) In IgrGrid when we display the grid on UI without data then in the middle it is written that "Grid has no data" (refer the ss attached). How to remove this text and keep it blank?
Please refer all the above mentioned points and suggest the approach to achieve the same point wise.
Best RegardsBharat
Hello Bharat,
The save and load layout methods are now available with the release of Ignite UI for React 18.4.0. You can read about this feature here: https://es.infragistics.com/products/ignite-ui-react/react/components/grids/grid/state-persistence
When can we expected for Save and Load Layout will be Available in the new Grid?
Text "Grid has no data":
IgrGrid displays the message "Grid has no data" when there is no data.To remove this text, you can set the fnaf showEmptyGridText property to false.For example:JavaScript<IgrGrid showEmptyGridText={false}> // ...</IgrGrid>
I unfortunately do not have an alternative approach to the save and load layout in this case. This is a feature that is under development and if you are looking for an alternative, my best recommendation is to continue using the IgrDataGrid control as this has the save and load layout built in.
The alternative while still using the IgrGrid would be to write out the different pieces that you are looking to save to a text file or something of the like, and then you would need to read that text file back and apply the customizations to the grid – essentially creating the feature yourself within your application. This would not be trivial.
As for when the save and load layout will be available, I do not have a concrete release date for this feature, but we are tentatively shooting for sometime in Q1 of 2024.
Please let me know if you have any other questions or concerns on this matter.
Thanks Andrew for the response.
Please provide an alternative approach for Load and Save Layout, because we have dependent functionality in our grid. Also when we can expect the new version that will have these API?