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

Reply To: mvc flexgrid image

$
0
0

Yes i receive 'undefined' value
this is my code


                    <script>
                        function itemFormatter(panel, r, c, cell) {
                            
                            if (panel.columns[c].header === "Tipo") {
                                if (panel.cellType === wijmo.grid.CellType.Cell) {
                                    cell.innerHTML = "<img src='"+panel.rows[r].kpath_image+"' alt='img' style='height:20px;width:20px' />";
                                    
                                }
                            }
                        }
                    </script>

Thank you


Reply To: C1GridView Wijmo client edit save when single row

$
0
0

Hello

did you have a sample with the latest component 2016 v1 ?
Because the method OnEndRowUpdated doesn't exist anymore ?

thanks

Reply To: mvc flexgrid image

$
0
0

The path is incorrect. It should be like below:

panel.rows[r].dataItem.kpath_image

Reply To: mvc flexgrid image

Reply To: scheduler, multiple contacts per day

$
0
0

Hi,

thanks for the sample. That looks good. I will try to use it.
Regards.
Alex

Reply To: Gaps in X-Axis DateTime Series

$
0
0

Was anything ever done about this as problem still exists? If not has it been implemented in FlexChart seeing as C1Chart is going legacy soon?

Thanks - John

RowSel return value

$
0
0

Dear All,
RowSel return the selected row. But when I setup the flexgrid as following:


flexProducts.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.Row;

And when the Rows.Count = 1

flexProducts.Rows.Count

then the RowSel return -2.
I think that it will return 0.

Anyone can explain.

Thanks,

LVD

Reply To: How to Read ribbon control in C# code and looping,bind in flexgrid

$
0
0

Hi,

In order to read the value of the associated Text property of the RibbonItem you need to use the PropertyInfo class of System.Reflection namespace and use its GetValue method to fetch the value.

Below is the code to achieve the same:

foreach(RibbonItem ri in rg.Items)
                    {
                        if (ri.GetType() == typeof(RibbonSplitButton))
                        {
                            traverse((RibbonSplitButton)ri);
                        }
                        else
                        {
                            Type t = ri.GetType();
                            PropertyInfo textProp = t.GetProperty("Text");
                            string text = textProp.GetValue(ri, null).ToString();
                            dt.Rows.Add(text, ri.Enabled, ri);
                            al.Add(ri);
                        }
                    }

Please refer to the attached modified sample application implementing the same.

Thanks,
Akshay


Reply To: How to Read ribbon control in C# code and looping,bind in flexgrid

$
0
0

Hi Akshay,

Can i get under each tab the ribbon control text name,like the tabs in my testcontrols projject.

in my sample project the tabs are testtab under that one test ribbon split buttton , another button,in tab two other controls,what i want is,i want to list out,all ribbon text name in each tab .i.e for example in my project i want to show the ribbon controls in treeview mod in flexgrid,i.e testtab treeview i want to show the ribbon text name under first tab,and next treeview to show tab2 like that.

Performance with C1 - Controls

$
0
0

Hello
we are observing that our software with C1 components starts verry slowly. That is only the case when we use the controls from C1. Now the question is, has this something to do with this issue: http://our.componentone.com/groups/topic/using-c12008v1-dlls-application-become-slower-at-startup/ ?
If it is so, can we have the unsigned dll's for: C1.C1Report.2, C1.Win.C1Report.2, C1.Win.C1FlexGrid.2, C1.Win.C1Chart.2

Or do somebody know an other reason why startup with C1-Controls takes that long time?

Greetings Michael

Reply To: MVC flexgrid and cell template

$
0
0

Hi,

Sorry for the delay in getting back to you. We are working on your query and will get back to you as soon as we find a solution.

Regards

Reply To: mvc flexgrid multi selected rows

$
0
0

Hi,

Sorry for the inconvenience. The selectedRows property works only when the SelectionMode is set to ListBox. For your scenario, to get all the selected rows, you can handle the OnClientSelectionChanged event and fetch the rows using the code given below:

function selectionChanged(s, e) {        
        var str = "";        
        str += e.cellRange.topRow + "," + e.cellRange.bottomRow;

        document.getElementById("lblSelection").textContent = str;        
    }

 @(Html.C1().FlexGrid()
                    .Id("gFlexGrid")
                    .AutoGenerateColumns(false)
                    .SelectionMode(C1.Web.Mvc.Grid.SelectionMode.RowRange)
                    .OnClientSelectionChanged("selectionChanged") 
)

Regards
Abdias

Reply To: Tree Checkboxes

$
0
0

Hi,

Please see the attached sample application which demonstrates a tree grid based on dummy data.

Regards
Abdias

cascade docking tab pages inside a dock tab control

$
0
0

Hi - I would like to know the trick of making several docking tab pages to cascade inside a Docking Tab control ?

Code Language: VB.NET

Any help or sample appreciated.

Reply To: Performance with C1 - Controls

$
0
0

Hi Michael,

Please find the attached utility that removes signatures from dlls.

Regards,
Nilay Vishwakarma


add toolstrip into c1splitcontainer panel header

$
0
0

hi all,
how to add toolstrip into c1splitcontainer panel header
or fixed location toolstrip on panel3

thanks a lot

Reply To: Hosting Windows Form in C1DockControl Problem

$
0
0

Hello,

Could you please provide a tripped down sample replicating the issue so that I can assist you accordingly.

Regards,
Prashant

Reply To: MVC flexgrid and cell template

$
0
0

Hi,

Sorry for the delay. I've attached a sample application which shows how to achieve your requirement using the client side FormatItem event of FlexGrid. Please take a look and hope it helps in achieving what you're looking for.

Regards
Abdias

c1Truedbgrid column edit

$
0
0

hello,
i want to edit one column data,

code:
c1truedbgrid.datasource=dataset.Tables[0];
c1truedbgrid.split[0].displaycolumns["colName"].datacolumn.numberformat="Short time"

and when i click one column data,
column will auto display "yyyy/mm/dd" and it's fixed.

what method can do it ?

Reply To: Gaps in X-Axis DateTime Series

$
0
0

Hello John,

The issue is with the development team and we have asked them to provide an update on it.
We will update you along with the progress.

Thanks,
Akshay

Viewing all 14170 articles
Browse latest View live


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