
Implements a flexible Material 2 Data Table with features like column width settings, sorting, various column types, filtering, pagination, and scrolling capabilities for enhanced data representation.
To add the dependency to your Kotlin Multiplatform project, open the build.gradle.kts of your shared module, then
kotlin {
sourceSets {
commonMain.dependencies {
implementation(libs.composematerialdatatable)
}
}
}and, in your libs.versions.toml, add:
composematerialdatatable = "1.2.2"
[libraries]
composematerialdatatable = { module = "io.github.aleksandar-stefanovic:composematerialdatatable", version.ref = "composematerialdatatable" }kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.aleksandar-stefanovic:composematerialdatatable:1.2.2")
}
}
}For the planned features, see Issues.
Right now, it is tested and working on:
Gradle submodule sample contains a working example of the Table implementation, see Sample App.kt.
To add the dependency to your Kotlin Multiplatform project, open the build.gradle.kts of your shared module, then
kotlin {
sourceSets {
commonMain.dependencies {
implementation(libs.composematerialdatatable)
}
}
}and, in your libs.versions.toml, add:
composematerialdatatable = "1.2.2"
[libraries]
composematerialdatatable = { module = "io.github.aleksandar-stefanovic:composematerialdatatable", version.ref = "composematerialdatatable" }kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.aleksandar-stefanovic:composematerialdatatable:1.2.2")
}
}
}For the planned features, see Issues.
Right now, it is tested and working on:
Gradle submodule sample contains a working example of the Table implementation, see Sample App.kt.