Is there any way using which the number of rows displayed in DataGrid can be adjusted automatically?
I have an application in which initially the DataGrid is populated with just 2-3 records, and in the course of running of the application, more records are added.
Initially, I do not wish to have the additional blank rows. How can this be done?
If I understand you correctly, you can probably work with the .rowCount property of your datagrid. Default is 4 including the header.
Thanks for your reply. I set the rowCount to my data provider's length.