ngx-lite-form 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/fesm2022/ngx-lite-form.mjs +34 -28
- package/fesm2022/ngx-lite-form.mjs.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,6 +238,12 @@ export class AppComponent {
|
|
|
238
238
|
// Enable bulk actions, update UI, etc.
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
+
// Handle row clicks
|
|
242
|
+
onRowClick(row: any) {
|
|
243
|
+
console.log('Row clicked:', row);
|
|
244
|
+
// Navigate to detail page, open modal, etc.
|
|
245
|
+
}
|
|
246
|
+
|
|
241
247
|
// Standalone paginator
|
|
242
248
|
paginator = new PaginatorFieldDto(1, 500, 25);
|
|
243
249
|
|
|
@@ -277,11 +283,12 @@ export class AppComponent {
|
|
|
277
283
|
<lite-file [control]="fileField"></lite-file>
|
|
278
284
|
</form>
|
|
279
285
|
|
|
280
|
-
<!-- Data Table with Sorting and
|
|
286
|
+
<!-- Data Table with Sorting, Selection, and Row Click -->
|
|
281
287
|
<lite-table
|
|
282
288
|
[table]="employeeTable"
|
|
283
289
|
(sortChange)="onTableSort($event)"
|
|
284
|
-
(selectionChange)="onSelectionChange($event)"
|
|
290
|
+
(selectionChange)="onSelectionChange($event)"
|
|
291
|
+
(rowClick)="onRowClick($event)">
|
|
285
292
|
</lite-table>
|
|
286
293
|
|
|
287
294
|
<!-- Paginated Table with Sorting -->
|
|
@@ -541,4 +548,4 @@ This project is licensed under the MIT License - see the [LICENSE](https://githu
|
|
|
541
548
|
|
|
542
549
|
---
|
|
543
550
|
## Changelog
|
|
544
|
-
- See [docs/CHANGELOG.md](https://github.com/liangk/lite-form/blob/main/docs/CHANGELOG.md) for the full historical record, including the latest `v1.4.
|
|
551
|
+
- See [docs/CHANGELOG.md](https://github.com/liangk/lite-form/blob/main/docs/CHANGELOG.md) for the full historical record, including the latest `v1.4.4` release with LiteTable row selection and row click features.
|