cancel
Showing results for 
Search instead for 
Did you mean: 

What difference between Matrix object and Grid Object?

Former Member
0 Kudos

Please,

I´m building an application that it will go to use a Grid. But i don´t the difference between Matrix object and Grid Object. Somebody could explain for me about the difference of both. When i use one or other?

thanks,

Vladimir Roberto da Silva Junior

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

My trouble was solved. Thanks a lot.

Former Member
0 Kudos

You can choose which finger you bite.

- Matrix is the older technology. It is slower, harder to handle. You have to use a DBDataSource or UserDataSource to fill it. The data source and the matrix is not in sync. You can put numbers in the first (0th) column, like line numbers.

- Grid is the newer object. However, you lose some important options you had with matrix. Grid cannot handle/display Time values, you cannot format your floating point numbers (no st_Quantity, st_Rate, etc.) You can load the data source (DataTable) from XML or a Query, which is fast. You cannot put numbers (or anything) the firsth column (0th column)

Former Member
0 Kudos

Ok,

But How i can to fill an object Matrix with datas of my form?. I´m trying but i can´t. Do i have to use an object DataTable?

Thanks,

Vladimir Roberto da Silva Junior

Former Member
0 Kudos

In a few words, it goes like this:

Grid enables you to load data using an SQL query, Matrix doesn't.

Matrix enables you to have linked buttons in each cell, Grid doesn't.

Grid enables a collapse-able structure of data, Matrix doesn't.

These, I believe, are the main differences.