Infragistics angular datagrid allows for string input in date type columns. But it gives an error for empty string. the entire table errors out. this should not be the case. it should print empty and handle the error. rest of grid should function properly.the expected behaviour happens for undefined.This seems like a bug
Hi Arunava,
Thank you for reaching out!
I have been looking into your question and tested entering an empty value in the “Order Date” column of type ‘date’ in this demo from our documentation. On my side, an empty date value is accepted by the IgxGrid and no errors are observed.
Could you please test the demo on your side as well an tell me if the reported behavior is reproduced? In case it is, please provide the steps you performed.
In case it is not, this will indicate that the issue is most probably local to your own project. What I can suggest, then, would be to fork and modify the documentation demo, trying to reproduce the issue there and sending it back to me, so I can investigate it.
Alternatively, if the behavior cannot be replicated, please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it in this case. Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Best regards,Bozhidara PachilovaAssociate Software Developer
Hi,
I am not sure about the version number but I can see it. This is the fork of my repo.
https://stackblitz.com/edit/angular-el6btg-74xxxm?file=src%2Fapp%2Fgrid%2Fgrid-column-data-types-sample%2Fgrid-column-data-types-sample.component.ts
I changed OrderDate to '' i get an error
empty string is not handled in this part of the code.