Is there any way to style a view with alternate row having a similar pattern in react native - reactjs

Kindly, find the picture below. This is the way I would like to modify my view
I am trying to style my view in which all the even rows have a particular format and all the odd rows have a different format. But I am not able to find any correct way of doing it. Any help would be appreciated.

Related

Set Full width row color for a parent group separor

We want to change the color for the parent row to have a certain color.
This way we can better see in which parent we are working in.
I got "something" working with a hover that looks like this (removed important information):
This is what we want to achieve but then for only the parent rows.
Is there any possibility to do this or are there any work arounds to become this effect ?
Many thanks for the help in advance for any unclarity or questions please ask!
Kind regards,
Joey Driessen
Unfortunately, it's not possible, but I can suggest coloring the names of the grouping tasks and/or change their font size. Please check this sample: https://playground.anychart.com/xuqwNO3f
And learn more about the labelsOverrider() method here: https://api.anychart.com/anychart.core.ui.DataGrid.Column#labelsOverrider
We have found a solution.
We have checked the source code for what you guys are doing for making a row selectable (and coloring the whole row).
Then we are using the .labelsOverrider function to get all the items in that column.
We check which ones are our grouping and on the grouping item we call the meta function like follows meta('selected', true) and that makes sure we set this row as selected and giving us the appropiate result.
Looks like follows:

Change Columns based on DataType DataGrid WPF

I want to have different columns based on the datatype that is set on the DataGrid.
Example: if I supply ItemsSource of "core.Customer" or "core.ServiceLocation" I want different columns based on that datatype. How do? I constantly find conflicting information. I need guidance for this.
Edit: By the way I was hoping to define the columns via XAML, and load the "template" programmatically or define a "DataType" so it'd immediately know what column template to use.
Also, I have nested properties in my classes that i'd like to display.
Example: Customer class has "BillingName" property. I don't want to display "BillingName" I want to display "BillingName.First" and "BillingName.Last" instead. How to achieve this desired functionality?
After several hours of searching stackoverflow and google I found this which has my exact functionality desired under "Rendering templated columns"

Nested ListView Items - TreeView&ListView combined

The best way to show what I need is showing an image:
What is the easiest way to implement this kind of "nested ListView" - each Item can be expanded and has subitems. I want the hierarchy only to show on the first column as shown when any other solution can be accepted.
There are couple of ways to do it. I consider that you are good in WPF and easily check code and take idea from it because it is not easy to give code of your requirement here.
You must need to user Expander for expand and collapse functionality for the detail sections as per you image.
I am sharing some the links from where you can easily get what you want. It is not exact code which you can copy but it will give you basic structure of what you want.
Listview and Expander
Sample-1
Expander and DataGrid
Sample-1
Sample-2
You will enjoy working on this one.

What control should I use for getting the following rows in ssrs?

I am to design a report which will be having given rows, I have tried with Tablex and Matrix, but I am facing issue with grouping.
Is there any other control or any custom control or any way of customizing Table
which I can use to design the following formatted rows in report.
Any link with demo, sample or POC would be great help.
Kind hard to tell what you're going for from your picture/description, but I'm guessing you may want to use a List object. You can put your group at the list object level, and then add text boxes, tables, images or whatever you need inside the list. You'll get a set of whatever is inside the list for each group, using the data from that group. Take a look at the sample/description here, which looks similar to what you're trying to do: here

Creating a Silverlight, drag & drag enabled query builder

what would be the best components to create a query builder? I imagine I'll need some sort of grid control. 30x30 cells perhaps. I would also love to have a snap-to-grid functionality as well. I'll be parsing the contents of the grid to create the queries so if I can iterate through the cells it would be a great help to. I'd be more than happy to post a sample project for anyone else to use if you all could help me with the base requirements. Thanks!
If you are already using the Telerik components for Silverlight, what about the RadExpressionEditor or RadDataFilter don't fit the requirements for what you're looking to do? Just curious as they are meant to handle this type of scenario.
ExpressionEditor allows for typing, which may not be the ideal if you're looking for a less error-prone scenario (aka, you don't trust users to write queries):
http://demos.telerik.com/silverlight/#ExpressionEditor/FilteringGridView
Otherwise DataFilter lets users select options based on the items and their respective types found in your collection, so it is much harder for a difficult user to break ;D :
http://demos.telerik.com/silverlight/#DataFilter/FirstLook
Is neither of those fit the bill, can you post more info in regards to your scenario/what you're looking to accomplish (and why you're looking at a 30x30 grid setup for the basis) and we might be able to brainstorm something good up. :)
-Evan

Resources