Posts tagged with 'sorting'
While designing reports, what users look for, is how easy it is to use the Designer and implement the reporting features. They do not want to use complex mechanisms for using simple features. FlexReport Designer, makes report designing more flexible and efficient than before. Here is a simple walkthrough of the new features offered by FlexReport Designer.
ComponentOne FlexGrid for WinForms, as the name states, provides an easy-to-use, flexible grid control for creating user-friendly interfaces that display, edit, format, organize, summarize, and print tabular data. C1FlexGrid provides all the basic plus advanced features such as sorting, filtering, cell merging, etc.
Alphanumeric format is one of the most widely used formats for representing data. They are used nearly everywhere, from Employee IDs to check/demand draft numbers in banks.
While working in a LightSwitch application, you would often need to load Query result on a conditional basis. For instance, if you are creating a custom search screen with many optional parameters you may want to first specify search criteria and then issue the search at once.
Every user has his own unique requirements. Many customers face this situation where they would like to retain the selected row when C1FlexGrid is sorted. When we apply sorting on C1FlexGrid, the selection is not retained by default. This blog explains an approach to ensure that the selected row is retained when C1FlexGrid is sorted.
WijGrid allows to interactively sort any column or expand/collapse any group. However, some customers have a requirement wherein they need to apply sorting on a specific column or toggle any particular group through code, based on some user action or manipulation.
We're often in a situation where we've selected a row and then as soon as we apply sorting or filtering on the grid, a row with different data gets selected. This is because selection works on the basis of row index in most of the Grid controls and it applies for C1DataGrid for Silverlight as well. So if we select the first row and apply sorting, grouping or filtering, we will observe that the first row remains selected. Now, suppose if we fetch the data of the selected row, we would get different data. This behavior will occur every time we apply any data operation on the grid. What do we do then!!
Sorting is currently not supported in the Section Based Reports available within ActiveReports 7. The most common approach which a user has to take to sort a report is to use the Order By clause while defining the SQL query for the data source. This approach works well for a static sorting on a particular column. However, a user is still not able to interact with the report on the viewer and sort it once it is displayed. So what if user wants to sort any column of the report in Ascending/Descending order but only after it gets displayed on the Windows Viewer?
Ideally if you select multiple CheckBox cells and toggle the value of any of the checkbox from that range, checked state for the other selected checkboxes are also toggled to the similar state. This works perfectly for a non sorted column. However, if the CheckBox column is sorted and you perform the similar operation, you will observe that unwanted Checkboxes are toggled. This happens as the rows are repositioned as per the sorting order once the Checkbox state is changed.
Sorting is one of the important features of any grid control and C1FlexGrid for Silverlight also supports this feature. You can easily sort C1FlexGrid in the ascending or descending order by clicking on the column headers just by setting the AllowSorting property to true.
This blog deals with yet another utility implementation of C1FlexGrid for Winforms. Two most important features offered by this grid are Filtering and Sorting. On applying any of these functionality on the grid, the visual changes are easily noticeable. However, there is a certain set of information that cannot be determined by simply looking at the resultant grid. You need to explicitly display the information, after writing some code to retrieve those values.
MultiColumn Sorting is one of the most important feature of C1FlexGrid for WinForms. This feature is not offered by many grids, thereby making this control a better choice for the developers.
When we use the DataMap property of the C1Flexgrid to associate cell values with display values in a column and sort this column, then sorting is based on the actual values, i.e., Key value.
When C1GridView is bound to a datasource, the columns are auto generated. Disabling sorting on a particular column is difficult as there are no boundfields or templatefields specifically coded - its all AUTOgenerated.
C1GridView has in-built features such as sorting, filtering, paging and grouping. These are extremely helpful for developers as it saves a lot time for them without having to implement it through code.
Many customers face a situation where they want to retain the row selected by the end user after Sorting/Filtering is applied. Normally, when we apply sorting or filtering after selecting any row then selection is lost after the postback . This blog discuss the approach we need to use for having the selected row even after sorting or filtering.