cxGrid Customize FocusRect draw - delphi

I only want particulars columns on a focused row to have the focusRect on cxGrid(TableView). How do I do that?

Use the OnCustomDrawCell event of your tableview to customise the drawing. You can interrogate the AViewInfo parameter, which is of type TcxGridTableDataCellViewInfo to determine if the cell is currently selected and how your cell will be drawn.

Related

sheet/cell color change when print sheet

Is there a way we can use conditional formatting like when user print sheet to pdf or printer it will change color of Cell or cells ?
Maybe add button to cell with "ctrl+p" key binding so when it is clicked it changes color of specific cell.

Appcelerator ListView transparent row selection?

I've made an app (for iOS) that shows a ListView with product information on it.
On the left of the row, I have a button to add the product to the orderlist. However when I click the button, the entire row changes color. I don't want this, I want the row to stay the same when it is clicked.
I've tried to set the allowSelection property to 'false', but then the 'itemclick' event doesn't fire anymore, so that's not the solution.
I also tried to set the selectedBackgroundColor property to 'transparent', but this still changed the color of the row when the button is clicked.
Is there any easy solution to this? Thanks.
Use "selectionStyle" property of the cell class, example shown below,
cell.selectionStyle = .none
By this usage the selection will occur but it wont change the color on highlighting(selecting state) of the cell.

iOS UI: How to make the control that is used in alarm app?

I want to create several controls just like the ones below the date time picker in the alarm app. They look like label controls, but they have a title on the left, the currently selected data value on the right, and an arrow all the way to the right. The Snooze control does not have an arrow, but I believe it is the same control. What type of control would I use to do this?
Any samples out there for this in Swift?
Thanks in advance.
It sounds like you are talking about different styles of cells of a table view.
The first control you mentioned (label on left, selected data value on right) is simply a table view cell with the RightDetail style and Disclosure Indicator accessory view.
The control with the switch is not a default cell style so you will have to make your own custom Table View cell. There are plenty of tutorials online that show how to make your own style of Table View cells. The item on the right is just a regular Switch.

Google Spreadsheet - Populate a cell based off different cells content, and use a third cells value

Is it possible to fill a cell with data from another cell based off the content of a different cell? I have a drop down menu in one cell, and when I select something from that menu, I would like the cell next to it to search a database on that sheet that the drop down is based off of. it has a second row with different values I would like to appear in the next column. I think about it, and it should seem easy, but I'm having troubles explaining it.
You could use VLOOKUP() to search the list based on the dropdown cell value. Ref

How to make some of the listfield's rows focusable and others non-focusable?

I want to create a listfield in which some of the rows are non-focusable i.e when we scroll some of the rows should not get focus.
i have searched internet regarding the same but didn't get any help..
plz help...
all suggestions will be appreciated...
Vipin
A logic:
when we scroll the list filed then every time paint method as well as onFocus method of each row gets called.U can apply your custom logic there in the onfocus method.inside this method u can override the default focus color from blue to none as well as do whatever u want.this is just the logic that u need to implement...Hope it helps u
http://intridea.com/2011/2/25/blackberry-tip-change-the-default-focus-highlight-color-of-listfield?blog=company
http://berrytutorials.blogspot.com/2009/11/create-custom-listfield-change.html
these links will help u change the default focus color to white or better to set the focus color equivalent to the background color.

Resources