[674 total ]
New Post: How can i set the Selection to a Row in a DataGrid?

I know that i can get an array of SelectedRow-Indexes with SourceGrid.Selection.GetSelectionRegion().GetRowsIndex()

 

But how can i set the selection to a Row?

New Post: How Can I set the Combox Cell Edit Enable=false??

Hi All

Like the title ,I found the cell can edit if the edtor is combox,but I want to get the value only from the combox support,

if I dont set the cell enable =false,the cell value posssibly from the user edit(not values from  ... [More] edit the combox ).

How Can I set the Cell edit=false??

i'm trying to set the cell.editor.EnableEdit=false,but the cell and the combox not edit neither!

How Can I do ??

THX!

  [Less]

New Post: Setting values to cells slow - any suggestions?

I'm sorry I was using the old version (4.21)!

Using the new version it's all ok. I was convinced I was using the latest version..

 

New Post: SourceGrid Mono

Ok.

New Post: SourceGrid Mono

borchanii wrote:
For the lastest release , sourcegrid not support linux version , the new item  RichtextBox  use the user32 windows dll .

i uploaded the report here ... [More] http://rapidshare.com/files/335091655/SourceGrid_Mono.pdf.html

I think it is better for this project to be natively managed c# code and not use interop or windows dll

you can test it with the MoMa program   :The Mono Migration Analyzer   from here http://mono-project.com/MoMA    

Could you please create an issue for this? [Less]

New Post: SourceGrid Mono

For the lastest release , sourcegrid not support linux version , the new item  RichtextBox  use the user32 windows dll .

i uploaded the report here http://rapidshare.com/files/335091655/SourceGrid_Mono.pdf.html

I think it ... [More] is better for this project to be natively managed c# code and not use interop or windows dll

you can test it with the MoMa program   :The Mono Migration Analyzer   from here http://mono-project.com/MoMA     [Less]

New Post: Setting values to cells slow - any suggestions?

Hello,

First of all thank you for your great product!

My question is about some slowness shown in the grid while setting values to cells: this is the code.

         ... [More] List<List<SourceGrid.Cells.Cell>> cells = logic.GetCells();
         grid.Rows.InsertRange(1, cells.Count);
         for (int i = 0; i < cells.Count; i++)
         {
                for (int j = 0; j < cells[i].Count; j++)
                {
                    grid[i+1, j] = cells[i][j];
                }
         }

The interesting thing is that the time of a single set grows with the number of the already-set cells. So in the beginning this code is very fast but it slows down as the rows grows (to 1000+).

I've tried to Suspend/Resume layout with no result. [Less]

New Post: Sizing Columns in ArrayGrid to required length

It looks like I was able to resolve it using the overrides below:

         public override int GetWidth(int column)
        ... [More] {
            if (column < Grid.FixedColumns) return 40;//fixed
            return Grid.DataSource.GetColWidth(column -  Grid.FixedColumns);

        }
        public override void SetWidth(int column, int width)
        {
            Grid.DataSource.SetColWidth(column - Grid.FixedColumns, width );
            Grid.Refresh();
        }

- JW

  [Less]

New Post: Dropping ListEditor on form displays error

@Braian87b

I have tried to compile the sourcegrid by my self. This was without any problems. But when I use this SourceGrid.dll in another project I still get this error.

@ dariusdamalakas

I will give it a try to create the control in the sourcecode. I will submit my experience.

New Post: Dropping ListEditor on form displays error

braian87b wrote:
dariusdamalakas wrote:
I usually create controls my self, without any help of designer.   You could try this ;)

Are you talking to me? :D

 

No :D

That was specific for margay