Quantcast
Channel: Our ComponentOne » All Posts
Viewing all 14170 articles
Browse latest View live

Reply To: Font Size in 3D

$
0
0

Hi,

I have asked the developer for this and will share his insights soon.

~Pragati


Reply To: Flex Grid Format

$
0
0

Hi Gary,

did you set the "DataType" of the column to e.g. "decimal"? It seems to be a string column.

Best regards

Wolfgang

Reply To: C1.Scheduler number of rows

$
0
0

Hello,

I am sorry, I could not understand your exact requirements clearly. As per my understandings, you are using "MonthView" of C1Scheduler and wish to hide the last row which contains dates.
Could you please elaborate more on your issue so that I can proceed further with my investigations.
If possible, please share a snapshot of the desired behavior for clear understandings.

Regards,
Prashant

Reply To: FlexGrid "no data" message

$
0
0

Thanks. Is there a way to display this in the grid, rather than using an alert?

Reply To: C1.Scheduler number of rows

$
0
0

Thx for your answer.
That is exactly what i need, in month view i want to have only four or five rows instead of six.
Like this calendar.

Reply To: Scrollable Legends with Winforms C1Chart

Reply To: Flex Grid Format

$
0
0

Thanks Wolfgang.

Set the datatype and all good.

Reply To: Fix Top Visible Row


Reply To: New version of component is TERRIBLE!!!

$
0
0

Hello,

We are not aware of any wrappers for Direct2D/DirectWrite from nuget\MS except Win2D project. It is for Windows Store apps only. Also, it is platform-dependent, i.e. we can't reference Win2D from our controls built for AnyCPU platform. The only known alternative for the DX dll is SharpDX project. But we actively use some new Direct2D/DirectWrite interfaces, not supported in SharpDX yet. If you are aware of any good alternatives please let us know.

Thanks.
-Andrey

Reply To: FlexGrid "no data" message

$
0
0

Hi John,

Please try this below code:


<script>
    function loadedRows() {
        var grid = wijmo.Control.getControl("#FlexGrid1"),
            cv = grid.collectionView;
        
        if (!cv.sourceCollection || !cv.sourceCollection.length) {
            //alert("no data");
            grid.cells.rows.insert(0, new wijmo.grid.Row());
            grid.cells.columns.insert(0, new wijmo.grid.Column());
            grid.setCellData(0, 0, "no data");
        }
    }
</script>
@Html.C1().FlexGrid().Id("FlexGrid1").OnClientLoadedRows("loadedRows")

Reply To: Update Custom Label Position

$
0
0

Hi,

You can use ValueLabel with a visible gridline. You can use a symbol that can be dragged with the mouse to other times as well. It is important that the Annotation method be set to Mixed for the Gantt Y Axis (horizontal axis with times). Mixed allows both the numeric values automatically placed by the chart AND ValueLabels as well. Positioning the ValueLabel (and therefore the line) is a simple matter of setting the DateTime or Numerical value of the ValueLabel. The text is optional but in your case would eliminate the need to supply a separate label. Movable ValueLabels for both axes are used in the Histogram sample.

Please see the attachment, Gantt-with-Marker.png.

Thanks,
Akshay

Reply To: BeforeAppointmentFormat -> e.Icons -> Scrolling -> Appointment title disappears

$
0
0

Hi Christian,

The issue will get fixed in the next release of C1Winforms. Till then, we suggest you to try using earlier builds of C1Winforms. Please let us know if you need any from our side.

Thanks,
Akshay

Reply To: BeforeAppointmentFormat -> e.Icons -> Scrolling -> Appointment title disappears

$
0
0

Hi Akshay,

Thank you very much! Rolling back to an earlier version of C1Winforms works for us.

Regards,
Christian

Reply To: C1ComboBox Update SelectedItem

C1DataGrid TopRow Content

$
0
0

Hi.

I want to set a Content into my toprow in the second colum.

I work with this and it works fine.(in my CellStyle I write this)


 <MultiDataTrigger>
                           <MultiDataTrigger.Conditions>
                              <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Column.Index}" Value="2"/>
                              <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Row.Type}" Value="Top"/>                              
                           </MultiDataTrigger.Conditions>
                           <Setter Property="Content">
                              <Setter.Value>
                                 <Grid HorizontalAlignment="Left" Margin="5,0,0,0" VerticalAlignment="Center" >
                                    <Grid.RowDefinitions>
                                       <RowDefinition Height="Auto"/>
                                    </Grid.RowDefinitions>
                                    <Grid.ColumnDefinitions>
                                       <ColumnDefinition Width="Auto"/>
                                       <ColumnDefinition Width="Auto"/>
                                    </Grid.ColumnDefinitions>

                                    <TextBlock  x:Name="Saldovortragtxt" FontWeight="Bold" Text="Saldovortrag:" HorizontalAlignment="Left" VerticalAlignment="Center"/>
                                    <TextBlock x:Name="Saldovortragtxt1" FontWeight="Bold" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5,1,1,1" Text="{Binding JournalClient.Saldo.Saldovortrag, Converter={StaticResource DecimalConverter}}" Grid.Column="1"/>

                                 </Grid>
                              </Setter.Value>
                           </Setter>
                        </MultiDataTrigger>

The user can choose another ItemsSource.

So if I do this for example 4 times the Content is in the TopRow.
But then there is nothing in the toprow. Then I Change the list and the Content is there.

When I debug the Content is "TextBlock". But my Content is a "Grid".

Do you have any idea?

Regards


Reply To: Using mvvm componentone wpf hierarchical datagrid

$
0
0

Hi there
How do I bind SelectedItem from the inner datagrid to a property on the ViewModel.
I tried the following but it didn't work:

SelectedItem="{Binding DataContext.SelectedSearchItem, RelativeSource={RelativeSource AncestorType={x:Type Window}}

Reply To: C1DataGrid TopRow Content

$
0
0

I included you a sample where it doesn't works.

If you reset the TopRows and then back it doesn't works.

Reply To: Scrollable Legends with Winforms C1Chart

$
0
0

Ok.

Does FlexChart allow you to have a scrollable legend?

Reply To: How to catch ESC (restore cell values)?

$
0
0

Hi,

We were trying to find out something to help you out and here it is:

public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            var ds = new DataSet();
            var dt = new DataTable("table");
            dt.Columns.Add("First");
            dt.Columns.Add("Second");
            dt.Rows.Add(new object[] { 1, "A" });
            ds.Tables.Add(dt);
            c1TrueDBGrid1.SetDataBinding(ds, dt.TableName);

            c1TrueDBGrid1.ColEdit += c1TrueDBGrid1_ColEdit;
            c1TrueDBGrid1.KeyDown += Grid_KeyDown;
        }

        private void c1TrueDBGrid1_ColEdit(object sender, ColEventArgs e)
        {
            if (c1TrueDBGrid1.Col == 0)
            {
                c1TrueDBGrid1.Columns[1].Value = "ABC";
            }
        }

        private void Grid_KeyDown(object sender, KeyEventArgs e)
        {
            var grid = sender as C1TrueDBGrid;
            if (e.KeyData == Keys.Escape && grid.Columns[0].DataChanged)
            {
                grid.DataChanged = false;
            }
        }
    }

Please refer to the attached sample application implementing the same.

Thanks,
Akshay

Reply To: Update Custom Label Position

$
0
0

This will not work. Markers are always underneath the bars. I need the line to be drawn on top of the bars.

Viewing all 14170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>