emin Posted November 13, 2020 Share Posted November 13, 2020 Merhaba UniDBGrid üzerinde yer alan verileri UniGridExcelExporter kullanarak excele çıkartıyorum. Ancak gridde yer alan veriler yerine tüm hücrelerde " Render Error: Cannot set property 'tdAttr' of null" ifadesi yer alıyor. Export için kullandığım kod: UniDBGrid1.Exporter.Exporter := UniGridExcelExporter1; UniDBGrid1.Exporter.Title:=UniTreeMenu1.Selected.Text; UniDBGrid1.Exporter.ExportGrid; Acaba eksik bir parametremi var, belirtmediğim. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 19, 2020 Share Posted November 19, 2020 Merhaba Test case yapabilir misiniz kontrol edelim. Link to comment Share on other sites More sharing options...
emin Posted November 20, 2020 Author Share Posted November 20, 2020 Test case ekledim. Test seneryosunda önce ülke veya meslek butonları ile listeleme yaptırıp, daha sonra listeyi yazdırırsanız sorunu görebilirsiniz. unitest.rar Link to comment Share on other sites More sharing options...
Sherzod Posted November 20, 2020 Share Posted November 20, 2020 4 minutes ago, emin said: unitest.rar 6.82 MB · 0 downloads Hello, Can you make a testcase using ClientDataSet? Link to comment Share on other sites More sharing options...
emin Posted November 20, 2020 Author Share Posted November 20, 2020 Dear Sherzod There is already an example with ClientDataset in demos and it works smoothly. However, there is a problem when I use the query instead Link to comment Share on other sites More sharing options...
Sherzod Posted November 20, 2020 Share Posted November 20, 2020 5 hours ago, emin said: unitest.rar 6.82 MB · 1 download This is a remote database? I couldn't run, also missing mysql library. Link to comment Share on other sites More sharing options...
emin Posted November 20, 2020 Author Share Posted November 20, 2020 I've created this database for the test case. You can find connection parameters on FD Connection1. I added mysql lib as well libmysql.dll Link to comment Share on other sites More sharing options...
emin Posted November 26, 2020 Author Share Posted November 26, 2020 Please let me know any progress in resolving the issue. Because I need to decide whether or not to use excel exporter in my new projects. Thanks in advance Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 26, 2020 Administrators Share Posted November 26, 2020 Merhaba, Grid'de Exporter.UseColumnRenderer False yaparak tekrar dener misiniz? Link to comment Share on other sites More sharing options...
emin Posted November 26, 2020 Author Share Posted November 26, 2020 Bu şekilde doğru çalıştı. Destek için teşekkür ederim. Bu tür detaylar için başvurabileceğimiz bir dokümantasyon var mı acaba? Paylaşabilirseniz çok memnun olurum. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now