Click here to Skip to main content
15,885,949 members

Comments by Motamas (Top 11 by date)

Motamas 30-Mar-13 20:00pm View    
More code fragment would help. Is the grid bound to a datatable or dataset for example?
Motamas 21-Mar-13 4:30am View    
I am not really understand what you trying to achieve. Do you need a simple column with checkbox? In this case the easiest way to use a boolean datatable column and the ultragrid will automatically set the columm's cell to checkbox. But as I see you habe to ultraGrid (3 and 4). So I am bit confused, please try to clarify in more detail.
Motamas 12-Mar-13 10:55am View    
I am not fully understand but I guess the problem is the different time zone settings. Maybe the DateTime function called ToLocalTime could help? The DataColumn type is DateTime?

(note: I think DataSet is too heavy for webservice interaction, it works but too complex. This is not relevant for the answer just a note.)
Motamas 4-Mar-13 17:31pm View    
Remove the databinding or datasource from the ultragrid or try to remove from the grid.displaylayout.bands[0].columns.... bands is a collection can be 0..1..2 you can also set the column visibility if you dont want to remove just hide.
Motamas 3-Mar-13 16:32pm View    
I agree that we should know were you stucked. If you ask generally for the solution, you would need some image processing algorithm. I am not sure how bright is the ambient but if the place of the led is the most brightest place then probably the luminance channel and some treshold value would be enough.