Skip to Content
author's profile photo Former Member
Former Member

What difference between Matrix object and Grid Object?

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 10:52 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2007 at 05:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2007 at 08:26 AM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 11:42 AM

    My trouble was solved. Thanks a lot.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.