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

Reply To: C1DataGrid Export Excel


Reply To: Clipboard Opeartions Support on Tree View

$
0
0

Hi,

Thanks for providing the screenshot.

Below are our observations:

1. Mouse Hover : It seems that when you mousehover an item it gets highlighted and if you hover over multiple items then all gets highlighted and appears as selected. However, we have tested it with C1TreeViewVirtualizationSample product sample and in it only the item below the mouse pointer is highlighted.

2. Sequence of Nodes : The nodes are also getting stored in SelectedItems property in the order as it is displayed in the C1TreeView. Furthermore, you can try sorting it by getting it as an IList obsect and performing sorting on it.

We have tested both of the above behaviours with the latest builds of C1Wpf i.e; 4.0.20162.524 under Windows 10 machine environment.
Hence, we request you to please share a stripped down sample application representing the issue. Also share the build version of C1Wpf you are using and the steps that we need to perform in order to replicate the issue at our end.

Thanks,
Akshay

Reply To: Moving VScrollBar to the left side of grid

$
0
0

Thanks nilay for help,
your code works fine on vScrollBar1_Scroll (scroll event only) another following issue is:
-vscroll dosn't move with mouse Wheel
-vscroll dosn't move with arrow up,down
i hope help me to complete this code to make vscrollbare position moving with grid events
(arrow up,down ,mousewheel)
what i am need is how to to use vScrollbar instead of c1truedbgrid Scrollbar.
very thanks...

Reply To: Failed to create a 'TargetType' from the text 'c1grid:ItemCellPresenter'

$
0
0

Really sorry for the delay in getting back. There are two ways to accomplish your need. One is to change the TargetType to c1grid:DataGridRowPresenter.
The other is to handle C1DataGrid's LoadedRowPresenter event and set the row's foreground depending on the underlying data. For eg.

Private Sub c1DataGrid1_LoadedRowPresenter(sender As Object, e As DataGridRowEventArgs)
            If DirectCast(e.Row.DataItem, Person).Name.Contains("Michael") Then
                e.Row.Presenter.Foreground = New SolidColorBrush(Colors.Red)
            End If
End Sub

You can change the condition according to the class you're using.

Hope it helps

Reply To: Clipboard Opeartions Support on Tree View

$
0
0

HI AKSHAY,

We have updated Component One in the last week but the C1 WPF version is 4.0.20162.517.
Where can we download the latest version

Regards,
Mayur Gosavi

Reply To: C1FlexGrid borders

$
0
0

Hi,

Thanks for providing the screenshot.

It is directly not possible to achieve the same so, we are further discussing it with the concerned team. We will let you know as soon as we are done with it.

Thanks,
Akshay

Reply To: MultiDocument for FlexReport

$
0
0

Hi,

This item is under discussion to be added in roadmap for next year. I will update the thread about the same once I get some information from PM.

Thanks,
Pragati

Reply To: C1DataGrid: How to select and hightlight row programmatically


Reply To: Context Menu Operations like Cut-Copy-Paste with Undo/Redo operation on FlexGrid

$
0
0

Dear Support,

The code you shared for copy-paste option with context menu on FlexGrid is working fine.
But the behavior of Keyboard copy-paste and Context menu copy-paste are totally different.

Some of the differences like:
1. Context Menu: If single cell copied and select multi cells and paste then only single cell get pasted on last cell.
Keyboard: If single cell copied and select multi cells and paste then all the cells get pasted with a copied cell.
2. Context menu: We cant copy paste data from external excel sheet.
Keyboard: We can copy paste data from external excel sheet.
3. Context menu: We cant copy paste data from one instance of application to another instance.
Keyboard: We can copy paste data from one instance of application to another instance.

Please let me know is there any solution for context menu copy-paste which works similar to Keyboard copy-paste.
Please share some example if possible.

Thank you,
Mayur Gosavi

Reply To: Moving VScrollBar to the left side of grid

$
0
0

Hi,

You can use this code.

public partial class TDBScrollLeft : Form
{
    public TDBScrollLeft()
    {
        InitializeComponent();
        Grid.RowColChange += Grid_RowColChange;
        Grid.DataSourceChanged += Grid_DataSourceChanged;
        Grid.Resize += Grid_Resize;
        vScrollBar1.Resize += VScroll_Resize;
        vScrollBar1.Scroll += VScroll_Scroll;
        Grid.MouseWheel += Grid_MouseWheel;
        Grid.SplitChange += Grid_SplitChange;
        CalculateScroll();
    }

    private void Grid_SplitChange(object sender, EventArgs e)
    {
        CalculateScroll();
    }

    private void Grid_RowColChange(object sender, C1.Win.C1TrueDBGrid.RowColChangeEventArgs e)
    {
        vScrollBar1.Value = Grid.FocusedSplit.FirstRow;
    }

    private void Grid_MouseWheel(object sender, MouseEventArgs e)
    {
        vScrollBar1.Value = Grid.FocusedSplit.FirstRow;
    }

    private void Grid_DataSourceChanged(object sender, EventArgs e)
    {
        CalculateScroll();
    }

    private void VScroll_Resize(object sender, EventArgs e)
    {
        CalculateScroll();
    }

    private void Grid_Resize(object sender, EventArgs e)
    {
        CalculateScroll();
    }

    private void CalculateScroll()
    {
        vScrollBar1.Minimum = 0;
        try {
            vScrollBar1.Maximum = Grid.RowCount - Grid.VisibleRows + vScrollBar1.LargeChange;
        }
        catch
        {
            vScrollBar1.Maximum = 0;
        }
        try
        {
            vScrollBar1.Value = Grid.FocusedSplit.FirstRow;
        }
        catch
        {
            vScrollBar1.Value = 0;
            Grid.FocusedSplit.FirstRow = 0;
        }
    }

    private void VScroll_Scroll(object sender, ScrollEventArgs e)
    {
        if (e.OldValue != e.NewValue)
        {
            Grid.ScrollGrid(0, e.NewValue - e.OldValue);
        }
    }   
}

~nilay

Can I read vsFlex8l resource file?

$
0
0

Hi!
I can read vsFlex8L resx -files in VisualStudio 2015 and it looks something like this:

value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAdQIAAAIB

How can I read this file in VB6 ?

Regards:
JU

See no text

$
0
0

Hi,
I changed my application to current COne-Version and VS2015.
Everything works, but only in one grid I see no more texts (Header and Field).
I do not know why.

During edit the cell - I see the text.
I do not find the problem.
I use this grid oin the same way as the other grid.
Do have an idea?

TDBGrid: 4.0.20162.188

Thanks Horst

White Paper: Understanding ASP.NET Core MVC TagHelpers

$
0
0

ASP.NET Core MVC’s TagHelper feature provides a readable, HTML-like markup that enables developers and web designers to collaborate more closely and efficiently. In this white paper we’ll walk you through the basics of TagHelpers, from concepts to custom development.

Get Understanding ASP.NET Core MVC TagHelpers: Improve Designer-Developer Collaboration

In this white paper, you'll learn:

  • What TagHelpers are
  • How to use TagHelpers in your project
  • How to create custom TagHelpers
  • How to create custom TagHelpers based on popular libraries such as jQuery and Bootstrap
  • How ComponentOne MVC Edition integrates TagHelpers

VSFlexGrid | Adding a sub row in the the grid

$
0
0

Hello,

How can add a sub row in the vsflexgrid control ?
The Dataanalysis Demo gave me some hint, but it is not exactly what I am looking for.

It should look like this :

Row 0:
Pos |ArtNr |Itemname
000 100 Testitem
|
|
001 101 Subitem
002 200
003
004
...

I am using VB6...
Thank you, in advance...

;) I hope my subject is clear ?

Stephan

Maximum number of columns exceeded (256)

$
0
0

Hello,

I would like to merge rows of .xlsx-files into one. The way I do it gives me an Exception:

"Maximum number of columns exceeded (256)"
Some Excel-files I load from the filesystem have more than 256 columns. Is there a way I can get around that exception?



 ' load Excel file
Dim book As New C1.C1Excel.C1XLBook()
book.Load(fileName)
' clone and rename first sheet (sheet names must be unique)
Dim clone As C1.C1Excel.XLSheet = book.Sheets(0).Clone()
clone.Name = System.IO.Path.GetFileNameWithoutExtension(fileName)

For Each row As C1.C1Excel.XLRow In clone.Rows

   ' Exception thrown here
   C1XLBook1.Sheets(0).Rows.Add(row.Clone()) 

Next

FlexChart: Reverse the order of items in the legend

FlexChart: Grouping stacked columns?

$
0
0

Does FlexChart have capabilities similar to the stacked group settings from the legacy C1Chart component?

The behavior I'm looking for is something similar to what could be accomplished by:


BarColumnOptions.SetStackGroup(dataSeriesA, 0);
BarColumnOptions.SetStackGroup(dataSeriesB, 1);

The attached image shows an example using C1Chart that I'd like to replicate using FlexChart.

No more C1Report!

$
0
0

I read the first post saying "C1Report in Maintenance mode after 2016v1".
Not sure, why C1 did this. C1Report and that printdocument are your flagship products.
Anyhow, confirm if any way to convert my old reports to Flexreport.

Cheers

Reply To: No more C1Report!

$
0
0

Asked u long back, agin want to confirm!
Is there any tool with which I can import my PDFs to C1/Flex/Designer? I mean the layout, design etc.

Cheers

Reply To: Excel sheet viewer via Flex Report

$
0
0

Markus,

Interesting to hear this!
Possible to share the code?

Viewing all 14170 articles
Browse latest View live


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