InQBarna / TableFixHeaders

Android library that implements a table with fixed headers.
Apache License 2.0
818 stars 298 forks source link

Want to inflate more than one values in one column #121

Open hasnain-ahmad opened 7 years ago

hasnain-ahmad commented 7 years ago

With reference to the subject matter, like a excel sheet there is multiple rows against a limited number of columns. Means no of columns is different than number of rows for my dataset.

TableFixHeaders tableFixHeaders = (TableFixHeaders) findViewById(R.id.table);
MatrixTableAdapter<String> matrixTableAdapter = new MatrixTableAdapter<String>(this, new String[][]{
        {
                "Header 1"},
        {
                "Lorem",
                "sed",
                "do",
                "eiusmod",
                "tempor",
                "incididunt"}

});
tableFixHeaders.setAdapter(matrixTableAdapter);

In the above code it shows only “Lorem” row not others. I want to show all rows against the one column.