yakup Posted December 6, 2023 Share Posted December 6, 2023 I have a problem , when I Export in Unidbgridden like. this is what the checkbox looks like "  " In colored text it looks like this, Render Error: Cannot set properties of null (setting 'tdAttr') Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2023 Share Posted December 6, 2023 Hello, Which build? How can we reproduce? Quote Link to comment Share on other sites More sharing options...
yakup Posted December 6, 2023 Author Share Posted December 6, 2023 4 minutes ago, Sherzod said: Hello, Which build? How can we reproduce? I think 1.90.0.1565 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2023 Share Posted December 6, 2023 14 minutes ago, Sherzod said: How can we reproduce? Quote Link to comment Share on other sites More sharing options...
yakup Posted December 6, 2023 Author Share Posted December 6, 2023 2 minutes ago, Sherzod said: You can use demo project adding this procedure TxForm.UniDBGrid1DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs); begin if true then begin Attribs.Font.Color := clRed; Attribs.Font.Style := [fsBold]; end; end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2023 Share Posted December 6, 2023 55 minutes ago, yakup said: You can use demo project adding this You seem to have enabled this option too - UseColumnRenderer? Quote Link to comment Share on other sites More sharing options...
yakup Posted December 6, 2023 Author Share Posted December 6, 2023 8 minutes ago, Sherzod said: You seem to have enabled this option too - UseColumnRenderer? yes UseColumnRenderer := True, when false like this Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2023 Share Posted December 6, 2023 We will check this issue. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 6, 2023 Administrators Share Posted December 6, 2023 42 minutes ago, yakup said: yes UseColumnRenderer := True, when false like this Can you please attach a sample project? Quote Link to comment Share on other sites More sharing options...
yakup Posted December 6, 2023 Author Share Posted December 6, 2023 15 minutes ago, Farshad Mohajeri said: Can you please attach a sample project? You can use demo project adding this procedure TMainForm.UniDBGrid1DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs); begin if TUniDBGrid(Sender).DataSource.DataSet.FieldByName('UnitPrice').AsFloat < 100 then begin Attribs.Font.Color := clRed; Attribs.Font.Style := [fsBold]; end; end; and make UseColumnRenderer := True; 1 Quote Link to comment Share on other sites More sharing options...
yakup Posted December 12, 2023 Author Share Posted December 12, 2023 Is there any progress on this issue? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 12, 2023 Share Posted December 12, 2023 1 minute ago, yakup said: Is there any progress on this issue? Not yet... Quote Link to comment Share on other sites More sharing options...
picyka Posted January 5 Share Posted January 5 +1 Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted January 5 Share Posted January 5 +1 Quote Link to comment Share on other sites More sharing options...
shawdown Posted January 5 Share Posted January 5 Same, exproting do html. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.