Questions tagged [tgrid]

37 questions
1
vote
2 answers

How to render a TBitmap image in a cell of a TGrid?

I am rendering the content of a database table in a TGrid, which works fine. Now I would like to show an image of a trash can on every row as a button to delete the row. How can this be done?
1
vote
3 answers

Slow performance of TGrid everytime it is created at runtime through dynamic (increasing data) TFDMemTable definition provided REST API data

I am developing Firemonkey App for iOS and Android. I noticed that the app gets slower performance in iOS and Android debugging everytime the TGrid is created at runtime using the TFDMemTable REST API data and structure. I already applied the…
RickyBelmont
  • 619
  • 4
  • 11
1
vote
0 answers

TTeeGrid at runtime creation gets slower as the number of columns increases

I am creating TTeeGrid (TDataSet descendant) at runtime supplied by API. I noticed that as the number of columns increases, the performance decreases. Meaning, the time of creating TTeeGrid is getting slower. I am developing firemonkey app here and…
RickyBelmont
  • 619
  • 4
  • 11
1
vote
1 answer

TTeeGrid is not displaying the data at runtime using data from REST

I created a simple RME for TTeeGrid, a descendant perhaps of TGrid in Firemonkey. As shown below, the data are displayed at design time but not at runtime except the headers. I've been breaking my head over this for weeks already but not luck. Let…
RickyBelmont
  • 619
  • 4
  • 11
1
vote
2 answers

How to set text alignment for a specific column in firemonkey TGrid/TStringGrid?

In firemonkey (RAD Studio 10.3), I am working with a TStringGrid connected to a database and I want to change the text alignment of a specific column. How can I do that? Changing HorzAlign in TextSettings property, changes the alignment of all…
Moj.H
  • 75
  • 12
1
vote
1 answer

How to enter data into TGrid Cells in C++ Builder or Delphi

I have some difficulties in entering some data into TGrid Cells, can someone give me some code example with commentary on how to insert data into a TGrid cell? To be more precise in C++ Builder when I'm using a StringGrid I can use…
Laz22434
  • 373
  • 1
  • 12
1
vote
1 answer

Helps with TGrid

I'm a newbie in C++ Builder and really need some help. In my work, we have to use C++ Builder and I can't find very much documentation about it. What I want to do is to insert a new row with some data in each column each time the user press the…
Laz22434
  • 373
  • 1
  • 12
1
vote
0 answers

Firemonkey TGrid formatting dates

I have a firemonkey TGrid control that seems to be detecting that the text inside of a cell is a datetime, and then applying its own formatting to the cell. For example, I have three strings that are generated and put into a row on the…
James Hogle
  • 3,010
  • 3
  • 22
  • 46
1
vote
1 answer

How to update dataset fields' values using the changed data in user defined FMX TGrid coumns

I use the following way to define and populate a column with TCalendarEdit ancessor cells (here is the interface part). Let me know if I need to expose implementation. type TDynamicRecord = record Field1, Field2, Field3: string; …
asd-tm
  • 3,381
  • 2
  • 24
  • 41
1
vote
0 answers

How I can send the Changes of a TClientDataset back to a RTC Server?

hi I have a Server/ Client Application in Delphi with RTC. My Client is a Android Mobil Device and that have a TGrid. The Server get the data from a dbf File and send this Data as a Dataset to the client with HTTP. The Client get the Data and fill…
Tarasov
  • 3,625
  • 19
  • 68
  • 128
1
vote
2 answers

How dows Tapestry set Headers of a grid component?

I was starting developping with tapestry and I have a question. Actually I have a question about the tables in tapestry and the headers of the tables. I know that if you have a Grid of User classes: public class User { public String firstName; …
ibaneight
  • 1,335
  • 2
  • 11
  • 15
1
vote
3 answers

Firemonkey: TGrid usage on Embarcadero C++ Builder XE3

I'm try to build a tool that reads data from a database and displays it as a table using a TGrid in Firemonkey. I need to use different types of columns like TCheckColumn and TPopupColumn but can't find any good guide or example on how to use them…
0
votes
0 answers

Firemonkey SpinBox is not displayed in TColumn

RAD Studio 11.2 Found how to create your cell type in this way: type TSpinBoxCell = class(TSpinBox) private ............................... protected constructor Create(AOwner: TComponent); override; end; …
0
votes
0 answers

How to open a html file in a Grid, StringGrid or a DBGrid in Lazarus/Free Pascal?

I have a question about loading html files into a grid in Lazarus or FreePascal. Is it possible to even do that? I've tried some pieces of code, I'll include some. First, I'm talking about the kind of html files with a table in it, like…
Smiley17
  • 31
  • 7
0
votes
0 answers

TGrid not Working with iOS simulator — it just run briefly and gone after installation

Why all datagrid like as follows are failing in iOS Simulator without any error message. It just run and gone after installation. I could not find any documentation related to this failures. TGrid TMSFMXGrid TeeGrid But its running perfectly fine…
RickyBelmont
  • 619
  • 4
  • 11