Jump to content


ObiWan's Content

There have been 7 items by ObiWan (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#21596 ShowCellTextFitHint strange behavior

Posted by ObiWan on 04 March 2024 - 06:33 PM in NextGrid v6 Component

Hi,

any news ?

 

Thanks




#21591 ShowCellTextFitHint strange behavior

Posted by ObiWan on 20 February 2024 - 05:40 PM in NextGrid v6 Component

Hi ,

i Have a grid and one of the column has ShowCellTextFitHint enabled: even if all contents are longer than the width of the column only some row show hint.
Only if I set the column as resizable all works, but I do not want the column is resizable.

 

Can you help me ?

 

Thanks 

 

 




#21583 Textcolor

Posted by ObiWan on 19 January 2024 - 09:16 PM in NextGrid v6 Component

of course :)
Thanks for your help




#21581 Textcolor

Posted by ObiWan on 16 January 2024 - 01:57 PM in NextGrid v6 Component

Hi,
I'm converting  old nextsuite5 code to nextrgid6 and I got a problem

 

OLD CODE

 

procedure TForm_storico.NextGrid_storicoolfCellFormating(Sender: TObject; ACol, ARow: Integer; var TextColor: TColor; var FontStyle: TFontStyles; CellState: TCellState);
begin
  if NextGrid_storico.Cell[10,arow].Asfloat=0 then
  begin
    TextColor:= clRed;
    FontStyle:= [fsitalic]
  end;
end;

 

I know that i must use 

 

procedure TForm_storico.NxCheckBoxColumn61StyleText(Sender: TObject; ACol, ARow: Integer; var FontColor: TColor; FillColor: TColor;
  var FontStyle: TFontStyles; CellValue: INxBase; CellState: TNxCellPaintingState);
 
 

for each column , but I got this error

 

[dcc32 Error] u_storico.pas(61): E2003 Undeclared identifier: 'INxBase'
[dcc32 Error] u_storico.pas(61): E2003 Undeclared identifier: 'TNxCellPaintingState'
[dcc32 Error] u_storico.pas(353): E2005 'INxBase' is not a type identifier
[dcc32 Error] u_storico.pas(353): E2005 'TNxCellPaintingState' is not a type identifier
[dcc32 Fatal Error] F2063 Could not compile used unit 'u_storico.pas'

 

 

 

Can you Please hep me ?




#21521 Hide checkbox column in childrow

Posted by ObiWan on 26 October 2023 - 03:57 PM in NextGrid v6 Component

Sorry !!!

 

All i working good , simply my problem with  LastAddedRow

 

Really sorry




#21520 Hide checkbox column in childrow

Posted by ObiWan on 26 October 2023 - 01:04 PM in NextGrid v6 Component

Hi Boki,

I discover that not only first of child row act like a toplevel but all child rows as in the image

 

Attached Thumbnails

  • Immagine.jpg



#21519 Hide checkbox column in childrow

Posted by ObiWan on 26 October 2023 - 12:45 PM in NextGrid v6 Component

Hi Boki,

I have a grid with these columns

- treecolumn
- checkboxcolumn
- textcolumn


I need that checkbox iv visible only on toplevel rows, but if I try to hide the relative cell in child rows the first of these act as a toplevel 

I attach two screenshoots

 

Thanks

Attached Thumbnails

  • Immagine.jpg