[DataGrid] ColumnBase improve access information
To create columns outside this library I need information that isn't there now.
I think you can bypass these changes, adding this Cascading property in your new column code.
[CascadingParameter]
internal InternalGridContext<TGridItem> InternalGridContext { get; set; } = default!;
I think you can bypass these changes, adding this Cascading property in your new column code.
[CascadingParameter] internal InternalGridContext<TGridItem> InternalGridContext { get; set; } = default!;
Ok but the InternalGridContext<TGridItem> Is internal
Ok but the InternalGridContext Is internal
Indeed ;-)
IMO InternalGridContext could be deleted and move properties/methods to FluentDataGrid. FluentDataGrid is found in CascadingParameter, or change visibility InternalGridContext
IMO InternalGridContext could be deleted and move properties/methods to FluentDataGrid. FluentDataGrid is found in CascadingParameter, or change visibility InternalGridContext
Nop. InternalGridContext exists to centralize some internal properties. The next major release could refactor this part to simplify the extensions.
IMO InternalGridContext could be deleted and move properties/methods to FluentDataGrid. FluentDataGrid is found in CascadingParameter, or change visibility InternalGridContext
The InternalGridContext should be seen as the object holding the grid's internal state. We do not want to expose that.
something is missing?
Are there any problems applying this change?
Hi Daniele, still not have time to take a proper look at this and won't be able for the coming weeks because of vacation period. There is no rush to get this in as it will require at least a minor release (i.e. 4.X)
you're right, this change gives me the ability to create components outside of this library.
Closing this as there has been no activity for a while.