Telerik Forums
UI for Xamarin Forum
3 answers
230 views

I'm currently working on building a crossplatform application using xamarin forms. So I started with building a Class Library and added the RadDataGrid and the output can either be a Android or UWP or WPF.

I can get the sample data to be displayed in Android but i get an below issue(attached)

 

 

Didi
Telerik team
 answered on 05 Oct 2020
3 answers
665 views

Using v2019.3.1119.1 of the Telerik Controls for Xamarin I use the following grid layout in my data template to display a list of jobs for a driver;

<DataTemplate x:Key="JobItemTemplate">
    <Grid
        RowSpacing="0"
        Padding="0"
        Margin="0"
        BackgroundColor="{Binding Item.JobStatus, Converter={StaticResource StringToColourConverter}}">
 
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="1" />
        </Grid.RowDefinitions>
 
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="40" />
        </Grid.ColumnDefinitions>
 
        <Label Grid.Row="0" Grid.RowSpan="3" Grid.Column="0" ... />
 
        <Label
            Grid.Row="0"
            Grid.Column="1"
            Text="{Binding Item.JobLine1}"
            TextColor="{StaticResource DarkSlateGrey}"
            FontSize="17"
            Margin="0,2,0,0" />
 
        <Label Grid.Row="1" Grid.Column="1" ... />
         
        ...
 
        </Grid>
    </Grid>
</DataTemplate>

 

This would display the sequence number of the job, the address line, then the expander icon to collapse or expand the item to display further details.  If the address line was longer than the width of column then it would wrap toa new line.

After upgrading the controls to v2020.3.916.1 the width of the address column behaves like "auto" instead of "*" - the addresses contract or expand without wrapping and the width of the "item" would also adjust accordingly giving a ragged right edge.

I have attached some screenshots to show the result before and after the upgrade.

Yana
Telerik team
 answered on 01 Oct 2020
2 answers
120 views

Hi there, it's me again :)

 

Is it possible to focus an item of the tree ? I'm using the tree to select a value, that is saved. When I create the tree, I want to focus this value, previously defined. But I can't find any way to expand the tree to this item, and focus on it. I already have a customization to highlight this item, but it's not in the screen when the initialization is done, so I can't see that I already have a selected value (unless I scroll the whole tree to check it myself) :(

The ItemSource of the TreeView is a ObservableCollection<CustomObject> and I know exactly wich CustomObject I would like to focus.

Thank you :)

Bra
Top achievements
Rank 1
Veteran
 answered on 28 Sep 2020
1 answer
208 views

Hi, i'm working with RadDataGrid using DataGridTemplateColumn to customize some Columns on Grid

this is my implementation

listViewOrder.Columns.Add(new DataGridTemplateColumn
{
    HeaderText = "Req. Mts",
    SizeMode = DataGridColumnSizeMode.Auto,
    CellContentTemplate = new DataTemplate(() => {
        Entry entry = new Entry();
        entry.FontSize = 16;
        entry.Keyboard = Keyboard.Numeric;
        entry.SetBinding(Entry.TextProperty, "RequiredQuantity");

        /** some code to implement image**/
        return entry;
    })
});

The code works on all iOS devices and also on some android devices, but on many others the keyboard does not allow typing inside the Entry element.

May be any trouble with my code that causes this issue?

Please help

Didi
Telerik team
 answered on 25 Sep 2020
12 answers
854 views

Hi, 

I want that when I look for the filter be case insensitive but I can not find the way.
Thanks.

Jeremy
Top achievements
Rank 1
 answered on 22 Sep 2020
1 answer
101 views
Do you have an example on how to customize look and feel for TimeBreak using a template?
Yana
Telerik team
 answered on 21 Sep 2020
1 answer
150 views
Is there a way to programmatically know once we load the chat and scroll up that we have loaded all of the messages and need to load more from the past? Like a pull to refresh.. Not able to locate any event pertaining to scroll for the control..
Didi
Telerik team
 answered on 18 Sep 2020
4 answers
130 views

Hi,

I was wondering if there's any guidance on how to handle Dark mode with Telerik Controls?

We are currently using RadDataFrom and under dark mode, the form still have white background with white text making it unreadable.

 

Thanks

john
Top achievements
Rank 1
Veteran
 answered on 17 Sep 2020
3 answers
446 views

We're looking for a straightforward way to set the text colour of a cell based on the value of a cell.  The markup below gives: Error: Position 79:32. No property, bindable property, or event found for 'TextColor', or mismatching type between value and property.

Will CellContentStyleSelector work and is that the only option?

 

<telerikDataGrid:DataGridNumericalColumn
    PropertyName="EmployeeRating"
    HeaderText="Rating">
    <telerikDataGrid:DataGridNumericalColumn.CellContentStyle>
        <telerikDataGrid:DataGridTextCellStyle
           TextColor="{Binding EmployeeRatingTextColor}"
           SelectedTextColor="Black"
           FontSize="15" />
    </telerikDataGrid:DataGridNumericalColumn.CellContentStyle>
</telerikDataGrid:DataGridNumericalColumn>
Neil N
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 17 Sep 2020
5 answers
190 views

Hello,

All is in the title.
I could not find any documentation nor example for that feature, besides that I need to create a custom renderer and register it.
Can you provide an example of an editor that triggers an action when clicked, by example?

Regards,

Gregs

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Sep 2020
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?