@matiasng087gmail-com
@matiasng087gmail-com
Forum Replies Created
-
AuthorPosts
-
Matias GalanteParticipant
I also have a similar issue with the updating row data:
// little example but in this case, the row doesn’t get updated.
this.grid.updateRow(index, {
orgName: newname
});Note: It does update, I figured what was wrong and it was a name property mismatch
- This reply was modified 9 months, 3 weeks ago by Matias Galante.
Matias GalanteParticipantForgot to mention, the data is server side CRUD which is the reason why I’ve been refilling the grid by creating a new smart data adapter instance each time since the server does all the CRUD operations.
Matias GalanteParticipantI also tried the i tag with font awesome
<i class="fa-solid fa-check"></i>
but that doesn’t work either since the UI cell is blank. Although maybe I need to import something to use font-awesome but I prefer mat-icon
- This reply was modified 1 year, 3 months ago by Matias Galante.
Matias GalanteParticipantI re-created the issue here: https://stackblitz.com/edit/github-un13v5?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fdashboard.service.ts
The first 6 tiles are based off of your example and the other 6 starting with “School” don’t move when you enable the sortable
Matias GalanteParticipantThat worked, thank you
Matias GalanteParticipantThank you! That worked
Matias GalanteParticipantThat helped, thank you!
Matias GalanteParticipantwhen my mouse is over a row, nothing happens
my html looks like:
smart-grid #grid id="grid" fxFlex [appearance]="GridConfig.appearance" [columns]="GridConfig.columns" [columnMenu] = "GridConfig.columnMenu" [dataSource]="GridConfig.dataSource" [filtering]="GridConfig.filtering" [selection]="GridConfig.selection" [sorting]="GridConfig.sorting" <div id="grid-spacer"></div> smart-grid
Matias GalanteParticipantThanks for the reply. Sorry I forgot to mention I’m using Angular 2+. Here is my code below of what I currently have for the allowHover problem:
component.ts
GridConfig = { appearance: { alternationStart: 0, alternationCount: 2, placeholder: 'No ROI Records', allowHover: true }, dataSource: [], filtering: { enabled: true }, columnMenu: { enabled: false }, selection: { enabled: true, mode: 'one' }, sorting: { enabled: true }, columns: [ { label: 'Organization', dataField: 'organization', sortOrder: 'asc' }, { label: 'Created By', dataField: 'createdBy' }, { label: 'Start Date', dataField: 'startDate', width: 100 }, { label: 'End Date', dataField: 'endDate', width: 100 }, { label: 'Status', dataField: 'status', width: 120 } ] }
-
AuthorPosts