Telerik Forums
UI for Blazor Forum
0 answers
107 views
Even if you set the Showtooltip="false" property, the tooltip will still appear with the field value:

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 24 Jan 2023
2 answers
355 views

Ok I have a need for the grid to do the following;

Parent grid row

    Child grid 1 detail rows

    Child grid 2 detail rows

    Child grid 3 detail rows

Parent grid has 1 set of columns.

And each of the children grids have a different set of columns to each other. Hope that make sense.

From your example doc:

<TelerikGrid Data="salesTeamMembers"> <DetailTemplate> @{ var employee = context as MainModel; <TelerikGrid Data="employee.Orders" Pageable="true" PageSize="5"> <GridColumns> <GridColumn Field="OrderId"></GridColumn> <GridColumn Field="DealSize"></GridColumn> </GridColumns> </TelerikGrid> } </DetailTemplate> <GridColumns> <GridColumn Field="Id"></GridColumn> <GridColumn Field="Name"></GridColumn> </GridColumns> </TelerikGrid>

 

My understanding is;

This is the parent data,

<TelerikGrid Data="salesTeamMembers">

this would be the first child grid,

<DetailTemplate>

for a 2nd child grid would I just add another one of these tags,

<DetailTemplate> lining it up to the 

 public List<DetailsModel> Orders { get; set; } in the main model?

something like:

public class MainModel { public int Id { get; set; } public string Name { get;set; } public List<Child1DetailsModel> Orders { get; set; }

        public List<Child2DetailsModel> Orders { get; set; }

} public class Child1DetailsModel { public int OrderId { get; set; } public double DealSize { get; set; } }

public class Child2DetailsModel
    {
        public int RecID { get; set; }
        public double ItemValue { get; set; }
    }
Yanislav
Telerik team
 answered on 24 Jan 2023
1 answer
998 views
On mobile you dont really want to change the DateTime with Keyboard. Is it possible to disable this feature because we develop a Maui Blazor Hybrid. 
Nadezhda Tacheva
Telerik team
 answered on 24 Jan 2023
0 answers
151 views

Heres what I get on the page:

See it has the column info from the DB and it should be showing 4 rows of data.

When I debug I see it returning 4 rows!

I have it hooked up as such:

<TelerikGrid @ref="@GridMarginInfoResults"
                             Data="@GDMarginInfoResults"
                             AutoGenerateColumns="true"
                             Pageable="true"
                             Sortable="true"
                             Class="custom-row-colors">                
                </TelerikGrid>

private List<MarginInfo> GDMarginInfoResults { get; set; }
        public TelerikGrid<MarginInfo> GridMarginInfoResults { get; set; }

What am I missing?

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 asked on 23 Jan 2023
1 answer
1.0K+ views
I'm trying to expand all child rows of the grid whenever a user has a flag to auto-expand.  I'm using the ExpandedItems collection in the GridState to add all items from my datasource to the collection.  This works when I initially click the switch to turn auto-expand on.  However, whenever I move to a new page, filter, change the page size, etc.  all of the child rows end up collapsed.  I have tried re-setting the ExpandedItems collection using some of the grid's events like PageChanged or StateChanged but nothing happens. My guess is that the mechanism that resets the Expanded Items is being called after I am expanding them, so the rows are being set back to collapsed.  Is there a way to do this so that whenever a page change or filter occurs, all items are expanded?
Hristian Stefanov
Telerik team
 answered on 23 Jan 2023
0 answers
1.6K+ views

Hi,

I'm struggling to find a simple way to set the selected row colour. I'm using the bootstrap theme.

I want to change it to the indigo/tertiary colour in the bootstrap theme but I'm getting nowhere. It's still a light blue.

Can you assist please.

 

Many thanks,

 

Rob

Rob
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 23 Jan 2023
1 answer
248 views

Hi

Is there a way to delay the opening of the TeleriklMenu ( use case : the menu is used in a table and each time the mouse goes over, the popup appears. I want to prevent this by putting a delay before showing the Popup

A workaround could be to show the popup only at mouse click

Thanks

 

Yanislav
Telerik team
 answered on 23 Jan 2023
0 answers
175 views

I am trying to have a TelerikWindow with its content divided in 3 rows: in the first row a button (10% of the TelerikWindow Heigth), in the second row a scrollable TelerikGrid (80%) and in the third row another button (10%).

To obtain this result I've created a TelerikWindow with a TelerikGridLayout in it, the TelerikGridLayout has 3 rows (10%, 80%, 10%) for button - grid - button.

In my test the grid exceeds the height of the telerikwindow so a vertical scrollbar appears in the TelerikWindow, instead I would like all content in the TelerikWindow (without the TelerikWindow vertical scrollbar, only with the TelerikGrid scrollbar). My test is in repl at https://blazorrepl.telerik.com/cdEbQQGu3019EWUB00.

May you kindly help me?

Thank you.

 

NiV-L-A
Top achievements
Rank 2
Iron
 asked on 22 Jan 2023
6 answers
1.8K+ views

I'm working on a custom export of the grid data (mostly due to date formats.)

I can get the filtered data using the code from here:

https://www.telerik.com/forums/export-telerik-ui-blazor-data-to-excel-pdf#gLpHjDCLDUmPjega_RAwPw

 

This works great for using the filter menu items.  Adding a couple new lines of code, I can easily get the current sort as well.

 

Is there anything exposed to let me get anything typed into the "Search" box which does the Contains on all the fields?  It doesn't exist in the current FilterDescriptors and I didn't see another thing that would let me get that values and further filter the existing data with what is in that box.

 

Thanks

 

Michal
Top achievements
Rank 1
Iron
Iron
 answered on 20 Jan 2023
1 answer
442 views
I've made the appropriate changes in all cases but this one -- What would be the correct change here? 
<TelerikButton Class="mr-1" ButtonType="@ButtonType.Button" ImageUrl=@GetImageUrl(@name) OnClick="@(()=>AttachmentOnClickHandler(name))">@name</TelerikButton>

Nadezhda Tacheva
Telerik team
 answered on 20 Jan 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?