Whats the differences between XPATH and Database?

0
1.When i use list widget or data grid,  i can select from xpath or database as datasource. They seems has very similar function,  what’s the exact difference?   2. when use a dropdown filter on list view,   i can also select Xpath or database on filter option item. What’s the difference?    They must match with list view’s datasource type?  
asked
2 answers
-1
  1. Database only allows constraints per attribute. Xpath allows you to add more elaborate constraints to the retrieve command, not only per attribute but also over association.
  2. Same difference as 1
answered
1

If you are using database for retrieving in the data grid you will not get default export to exel CSV.... 

 

But if you use xpath you will get get more options to filter out the data and some build in future of Mendix.

 

 

answered