If a value is "0" then I want to display an empty field. But if a value is greater that "0" I want to format it with 2 decimals.
I can not figure an easy way how.
Actually I have the choice between "#,###.##" and "#,##0.00". I have a lot of those fields so I need a kind of generic solution...
I'm displaying "live" data in a telerik blazor grid that is refreshed every 30 seconds by a timer from a database. I've tried following the examples to preserve the grid state, but all rows collapse after StateHasChanged(). I do not want to store the state in the local browser. The reason I would like this feature, is that I will be displaying a large amount of nested data, and would like to only allow the user to look at one record at a time (to simplify the interface). I'm not able to successfully preserve the expanded state. I have also tried
var state = Grid.GetState();
state.ExpandedItems = new List<MainModel> { mod };
await InvokeAsync(() => StateHasChanged());
await Grid.SetState(state)
But the state results in collapsed.
The example for the OnReorder feature returns a null result. The Id (args.Id) is never shown in the console log message.
@* Handle the OnResized event *@ <TelerikTileLayout Columns="3" Reorderable="true" OnReorder="@OnReorderHandler"> <TileLayoutItems> <TileLayoutItem HeaderText="Panel 1"> <Content>Regular sized first panel.</Content> </TileLayoutItem> <TileLayoutItem HeaderText="Panel 2"> <Content>You can put components in the tiles too.</Content> </TileLayoutItem> <TileLayoutItem HeaderText="Panel 3" RowSpan="3"> <Content>This tile is three rows tall.</Content> </TileLayoutItem> <TileLayoutItem HeaderText="Panel 4" RowSpan="2" ColSpan="2"> <Content>This tile is two rows tall and two columns wide</Content> </TileLayoutItem> </TileLayoutItems> </TelerikTileLayout> @code{ async Task OnReorderHandler(TileLayoutReorderEventArgs args) { Console.WriteLine($"tile {args.Id} reordered, might be a good time to save the state."); } }
Hi
Good native Gantt component - really pleased you have implemented most useful functions.
One that I use a lot is a baseline start and end date for activities - to visually see how delay or variation has occurred over time (se attached image for basic example)
Is there a way to do this at the moment? if not is this something you could think of adding?
Hello,
I have a scenario where I have a Telerik Notification with a Telerik progress bar embedded. I am looking to update the progress bar of multiple instances of the notification independently based in separate threads.
Would this be possible?
Thanks,
Tony
I have a Grid page in the content section of a TabStrip. I am trying to determine the best way to move from the grid to a detail page but still maintain the TabStrip.
I want the detail page to stay in the same tab as the grid page was.
I assume some sort of component swap process?
Any suggestions
Hi
I have a use case whereby I just need the graphic representation of the Gantt only (i.e. not the list of tasks on the left).
I have tried leaving the GanttColumn property empty (no GanttColumn items in it) but it still displays the section of the control which is just blank.
I can get the view I want by then using the slider to adjust the width of that section till the gantt graphical part covers the entire control (see attached image)
What I would like to be able to do is to be able to do that through code not by moving the slider manually.
Is there a way - I assume there must be some css class I could adjust the width of somewhere given how flexible these components seem to be.
Thanks
Good day,
I would like to use the Gantt chart for industrial production planning. Independently of the bars, a color highlighting of individual columns (see picture) is to be inserted based on the personnel situation in available employee hours (e.g. workstation 2: 7h/...) and the workload according to the work plan ( workstation 2: .../7h). In addition, a mouse-over on the capacity situation is to be shown per day.
Can this be implemented by the current functions in the Gantt? So far I have not been able to find any configurable elements for the columns.
This is actually enormously important for our project and something like this (or similar) was confirmed in the initiation interview, which among other things prompted the purchase of the license.
Alternatively (even better) would be a dynamic capacity historygram under the Gantt, which is synchronously movable in vertical axe. Here, only a bar (required employee hours per day) would have to be displayed as a total and a constant line (available employee hours) would have to be inserted additionally.
Would a connection with a column chart be feasible from your point of view? (Kind a like: https://demos.telerik.com/blazor-financial-portfolio)
Many thanks in advance.