Localization support for Datagrid Hide/Show feature - vmware-clarity

Localization support for Datagrid with Hide/Show option
Our project supports localization. And we are using Datagrid in multiple pages with show/hide columns. We see that Select All and Show columns getting displayed in English irrespective of locale when clicked on show/hide icon.
Would like to know is this expected behavior?
ColumnName
Expected: Based on locale, strings to appear in respective language
Actual: Always appears in English
DataGrid_Show/Hide

Clarity originally supported localization for Datagrid Column Toggler through adding custom components as you see here https://clarity.design/documentation/datagrid/hide-show.
In Clarity v2+, that will go away and the locale will change the strings based on your commonStrings service. Depending what version you are running, you will need to decide which approach to use.

Related

Infragistics WebDataGrid RowAdding: Are there no CheckBox editor providers?

In my ig:WebDataGrid there are two columns that hold boolean values coming from a database; the column is defined via
<ig:BoundCheckBoxField Key="Mandatory" DataFieldName="Mandatory" Header-Text="test" />
Every editing option (be it RowEditing or CellEditing) works fine with the automatically provided CheckBoxes that represent the values. But now I want to use the RowAdding feature. Unfortunately I can't find any EditorProvider that seems to fit for CheckBoxes, and just leaving the definition for the respective columns empty results in the cells not being clickable/editable in the adding row, although there are grayed out CheckBoxes shown and the column is not set to be ReadOnly.
Is there any way to get an editor provider fit for this? Since editing works automatically with the CheckBoxes I feel like there should be an easy way to get RowAdding to work analogously. Otherwise I'd have to go the 'painful' way via creating a DropDown Provider with 'true/false' as values... which would be way less elegant.
The problem turned out to be a bug in the specific Infragistics version we were using. Updating to the latest Service Release of the 14.1 controls fixed this particular problem. Although there is indeed no CheckBox editor provider, those just work by default now.

Dynamic grid using wpf devexpress

I m having situation whhere i need to add text box in grid control cell just like we add button in the cell but the text box should open a small window when click .User should be able to fill enteries in that window.
This is possible in extjs but can anyone please tell how to achieve this with devexpress controls.Please find the screenshot of the same.
DevExpress provides a workaround for WPF platform: PopupContainerEdit for WPF, whats the status?
This solution is valid for WinForms platform only
DevExpress has the PopupContainerEdit editor that supports in-place mode. This editor is very handy to implement the functionality you described.
To make it work properly in in-place mode, handle these two events:
PopupContainerEdit.QueryResultValue Event
RepositoryItemPopupContainerEdit.QueryDisplayText Event
The result value will be passed to the cell where the editor is located. It is a bad practice to modify data manually after closing the pop-up window.

Moving down/up row of s:DataGrid in Flex 4.5 using ActionScript

Recently started Flex. Had some practice on how to use services in PHP that Flex client asks via zend AMF. As a part of my project I am planning to load data from Mysql using PHP (via service) and display it in a s:DataGrid.
For this purposes I'm keen on knowing is it possible to move up/down datagrid row using ActionScript 3.0 depending on, say,specific row[r1][c1]'s value.
To be more in detail:
Think that OnTimer event datagrid's content will be updated and sorted by column Time and dislplayed by ascending order, whenever i update the time the row which it's column's value was modified should move down or up using Animation like this example from Adobe Center
http://examples.adobe.com/flex3/devnet/networkmonitor/main.html [switch to the grid mode on top of the site]
Tutorials or links (source codes ) are welcome!!!
I think you should be looking for dataprovider sorting based on the field that you want to sort upon. Also, look for some effects(examples in adobe docs) to get that kind of effects in your view.
You can use the selectedIndex property of the dataProvider ..
or selectedItem property on the grid to select the item pro grammatically

Flex DataGrid sequencial inserting

I come from the Delphi school. I was really used and pleased with Delphi grids with the plus features of InfoPower. Not just me, my users loves all features that include grids. Some motives for that are:
With grids they have the ability to insert detail information using only the keyboard. Input, Tab, Input, Tab, Input Tab (automatically insert new row), input, tab, etc.
They were able to simply click in a row and edit it´s data.
They could navigate between records using only arrow keys.
In my flex apps I´ve being working arround this quite often, sometimes using a popup to insert data, sometimes using repeater instead of grid. But now I really really need some intuitive, fast way for my users to insert this data.
I am trying to use DataGrid (or AdvancedDataGrid) with inline editors and I am living a real hell to do that. For the last 3 days I am struggling, tweaking and workarrounding in order to try to mimic the features that I had with Delphi.
Main problems are:
DateField simply don´t work as an inline editor. It gets focus but never looses, only with pressing ESC, wich makes me loose the inputed data.
AdvancedAutoComplete: I have a component descendant from AdvancedAutoComplete with a custom browser. The custom browser is a popup, when I try to PopupManager.remove flex raises an exception of a null pointer inside it´s focus managing engines.
I couldn´t get to insert a new line focused in it´s first column when TABing in the last column of last row.
Having all these problems and not getting substantial material to solve them makes me think the (now obvious) fact that it is just not the way grids are intended to work in flex. My question is: what are the patterns used in flex applications to make sequencial, intuitive, fast, keyboard only insertions in a detail?
To answer your question bluntly, there are no specific established patterns to make editing or inserting data in the DataGrid fast and easy. Not being able to Tab between fields is one of the things I really wish Adobe had added to the DataGrid by default.
In order to get the functionality you want, you'll have to do some custom coding and extend/override the DataGrid's default functionality. Switch On The Code has an example up on tabbing between fields, but you would have to build upon their sample a bit further to include features like adding a new row when pressing tab in the last field of the last row in the DataGrid.
You may also want to consider Flexicious. Based on the Flexicious Ultimate demo, it looks like they have the functionality you're looking for (and then some!).

Flex AutoComplete ComboBox?

I am using FLEX AutoComplete ComboBox,right now it displays the matching options based on the typed input value. is it possible to display the entire list and highlight the matching option based on the user text???
Regards,
Sundar
Sundar
You might want to try the Flextras AutoCompleteComboBox. Their control will allow you to filter the list view to those items that match your typed text. We are using it for our development and it works quite well.

Resources