Autocomplete on dialog only works with data on the grid

Dear support team,


According to the Dialog template in Datagrid official demo, an autocomplete component can be used inside the dialog, but it will only filter the data loaded in the grid, so it won't be possible to add an order for a non-listed customer in the grid, only from the customers on the grid.


Is it possible to load the full customer catalog as an independent autocomplete component inside the dialog instead of depending on the datagrid's data?


Thanks in advance!


3 Replies 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team July 18, 2022 09:00 AM UTC

Hi George,


Greetings from Syncfusion support.


You can customize the entire contents in the edit dialog by using the Dialog Template feature of grid. So based on your scenario, you can bind different data to SfAutoComplete by assigning different List to SfAutoComplete’s DataSource property, instead of using same List(GridData) as provided for Grid.


For an example purpose we have bind same List(GridData) to both SfGrid and SfAutoComplete in the below documentations. You can bind different List data based on your requirement for the components used inside Dialog Template.

https://blazor.syncfusion.com/demos/datagrid/grid-dialog-template?theme=fluent


Please try this from your side and get back to us if you need further assistance.


Regards,

Renjith R


Marked as answer

GW George Waters July 18, 2022 02:35 PM UTC

Thank you so much, Renjith !!!


Regards.



RS Renjith Singh Rajendran Syncfusion Team July 19, 2022 03:23 AM UTC

Hi George,


Thanks for your update. Please get back to us if you need further assistance.


Regards,

Renjith R


Loader.
Up arrow icon