Jump to content
uniGUI Discussion Forums
leandroavila74

unimdbgrid with autowidth on columns?

Recommended Posts

procedure TMainmForm.UnimFormReady(Sender: TObject);
begin
  UnimDBGrid1.JSInterface.JSConfig('width', ['100%'], UnimDBGrid1.Columns[0].JSColumn);
end;

 

Share this post


Link to post
Share on other sites
On 9/22/2018 at 4:22 AM, Hayri ASLAN said:

procedure TMainmForm.UnimFormReady(Sender: TObject);
begin
  UnimDBGrid1.JSInterface.JSConfig('width', ['100%'], UnimDBGrid1.Columns[0].JSColumn);
end;

 

How to code that with c++builder?Is that like this?but not right

UnimDBGrid1->JSInterface->JSConfig("width","\[100\%\]",UnimDBGrid1->Columns->Items[0]->JSColumn);

Share this post


Link to post
Share on other sites

×