Is there any way to provide multiple columns in RadTreeView with column headers? I know this can be achieved using RadTreeListView, but I dont want to use that as that doesn't support Hierarchical data template.
The RadTreeListView allows you to display items in a hierarchical structure using the HierarchyColumnIndex property. See the documentation for more details.
You can combine that feature with the ability to create your own templates in order to achieve the result you want.
Hopefully that helps.
Related
I have 2 reports in the WEBI document, for every report, i need to use different SQL
I tried to create another report with different SQL, but it changed the same query to the first report.
Second questions :
I need to display some rows in different colors based on the amount. how to do it.
thanks
When you have more than one question it would be better to post them separately.
1. Multiple Queries
If you want a query with different SQL you need add another query from within the Query Panel.
By default it will be named "Query 2". If you are running a query for the first time WebI will put all of the Result Objects on your report. Otherwise you will need to manually add them to your report.
When I have multiple queries I always change the view at the bottom of the Available Objects pan to "Arranged by Query". Also, if you have the same object name in more than one query WebI will qualify it with the query name.
2. Different Colors Based on Value
You want to do what is referred to as Conditional Formatting. Here is YouTube video on that. The link for that video came from the SAP BusinessObjects Web Intelligence link on the Official Product Tutorials - SAP BusinessObjects BI Suite website. I would recommend you spend some significant time reviewing the information there.
StackOverflow is very focused on code. Your questions are more about how to use Web Intelligence. Those types of question would be a better fit for the BusinessObjects Board.
Noel
From the menu bar Analysis -> conditional -> new rule ..
You can create different rule (specify rule condition in it ) and for each rule you can give particular formatting option.
[Webi]enter image description here
After selecting the column for which u need to apply the rule press FORMATTING Rules and check all the rules you need to apply .Hence you can achieve different color for different value (by assigning different rule )
I want to implement pagination in telerik radgridview for vb.net windows form. Instead of assign the datasource one time, I want to get data from mysql on each pagination per page so that it is fast in retrieving data. How can i implement this?
RadGridView supports client-side paging. Hence, RadGridView has a DataSource applied to it which stores all records and the data is represented in multiple pages: https://docs.telerik.com/devtools/winforms/controls/gridview/paging/overview
However, if you want to load data on-demand, it is appropriate to use RadVirtualGrid which also supports paging. The following help articles are quite useful about getting familiar with the control and how to populate it with data:
https://docs.telerik.com/devtools/winforms/controls/virtualgrid/overview
https://docs.telerik.com/devtools/winforms/controls/virtualgrid/working-with-data/virtualgrid-populating-with-data
https://docs.telerik.com/devtools/winforms/controls/virtualgrid/paging/paging-overview
I have 4 models with same fields name. I need to show records from the 4 models on one view
how can I do it?
A Odoo view is usually a representation of a record in the database. To accomplish what you are speaking of you need to create a view which is the representation of a record which has relationships to all the other records you are speaking of. So a hackish way would be to create a model with 4 many2one fields each point at the model and records you are referring to.
Another option is to create a custom view or widget and using javascript to gather the data you need using the Odoo javascript api and then rendering it in a fashion that makes it usable for your use case.
This all depends on what you are trying to accomplish by displaying the 4 records. If it is simply a matter of displaying some information to the user a wizard model (models.TransientModel) with 4 many2one values may accomplish what you need.
I've got a nice SSAS tabular model with users processing away. Certain users need access to certain information, such as confidential info (e.g., SS numbers), that should not be visible to everyone. How should I handle this?
This indicates that there is no way to use roles to remove columns, only rows. Is my only option to make a copy of the model and maintain both? This can't be such an edge case...
I guess I can jury-rig something with a scm fork and code-generation, but I'd rather not go down that road.
Alternatively, is there any way to hide the columns (per user/role), so that at least they don't show up in client tools?
One method that requires very little additional development is to use the method described in the following blog post. http://blog.westmonroepartners.com/a-workaround-for-column-security-in-the-sql-server-analysis-services-bism-tabular-model/
The blog contains a link to an SSIS package which will replicate an existing cube, with the exception of the sensitive data columns. The users who cannot view the sensitive data columns can be given access to the second cube that does not contain sensitive data columns.
One way to achieve this is to create Perspectives. You can create different perspectives for different group of users. And end users can connect to their specific model.
So I know you can specify what custom table you would like to use for the Users table when utilizing the InitializeDatabase method on the WebMatrix.WebData.Websecurity class, but I wanted to find out if there is no way to specify the Roles table to use? There might not be any reason - except if you wanted more control over what data is stored with a role.
I think there is no way to specific roles table in Websecurity.InitializeDatabase()
but for example you can include Asp.net Simple Membership tables as part of your entity framework model and more control over it.
This article might assist you in resolving your issue.