Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

9.1 Regression:UI issue for field with long title on Format dialog

$
0
0
SmartClient_v91p_2014-03-20_PowerEdition
Works as expected in SmartClient_v90p_2013-08-05

Repro steps:
- Load test case
- Double Click "Really Long Static ....." from available fields in hilite editor

Observed:
IE8: Text is overlapped with drop-down list
IE10: There is no space between fields and some times UI elements are pushed to right

Expected:
Behavior similar to before in 9.0 P where longer text is shown with ... at the end and when you hoover full text is shown. This behavior would help to avoid issues with varying grid size and screen resolutions.

Code:

<!DOCTYPE html>

<html>
<head>
<style tyle="text/css">
<!--
@page {
  size: landscape;
 
}
-->
</style>

    <title >SNQA-421</title>
       
          <script type="text/javascript" >
                var isomorphicDir="http://localhost:8080/isomorphic/";
               
                var data = [
                        {inspectorID:12345, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:206,observations:913,lastInspectionDate:new Date(2012, 8, 13),index:52.6, inspectionType: {id:123, name:"type1"}},
                        {inspectorID:67890, region:"United States", state:"Pennsylvania", city:"Butler", inspections:66,observations:0,lastInspectionDate:new Date(2013, 2,2),index:75.3, inspectionType: {id:123, name:"type1"}},
                        {inspectorID:88776, region:"United States", state:"Pennsylvania", city:"Pittsburgh", inspections:66,observations:67,lastInspectionDate:new Date(2013,2,3),index:75.3, inspectionType: {id:123, name:"type1"}},
                        {inspectorID:44556, region:"United States", state:"Pennsylvania", city:"Philadelphia", inspections:206,observations:0,lastInspectionDate:new Date(2012,8,31),index:52.6, inspectionType: {id:123, name:"type1"}}
                ];
</script>
       
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Core.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Foundation.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Containers.js"></script>
  <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Grids.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Forms.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_DataBinding.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Drawing.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_PluginBridges.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Charts.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Tools.js"></script>
 <script type="text/javascript" SRC="http://localhost:8080/isomorphic/skins/EnterpriseBlue/load_skin.js"></script>
       
</head>
<body>

        <br><br>
        <script>
       
                        isc.DataSource.create({
                                ID: "ds",
                                fields: [
                                        {name:"inspectorID", title:"Inspector ID", type:"integer" },
                                        {name:"inspections", type:"integer", title:"Number of Inspections"},
                                        {name:"static", type:"text", title:"Really Long Static Field Title loooooooooooooooooong"},
                                        {name:"region", type:"text", title:"Region/Country"},
                                        {name:"state", type:"text", title:"State"},
                                        {name:"city", type:"text", title:"City/Municipality"},
                                        {name:"observations", title:"# Observations"},
                                        {name:"lastInspectionDate", type:"date", title:"Last Inspection"}
                                ],
                                cacheData:data,
                                clientOnly: true
                        });
                       
                        var gridObject = isc.ListGrid.create({
                                dataSource: ds,
                                dataFetchMode : "local",
                                autoFetchData: true,
                                clientOnly: true,
                                width : "100%",
                                align : "center",
                                autoFitData : "vertical",
                                autoFitMaxHeight : 400,
                                alternateRecordStyles : true,
                                canAddFormulaFields : true,
                                canAddSummaryFields : true,
                                canGroupBy : true,
                                canReorderFields : true,
                                showGroupSummary : true,
                                groupByMaxRecords : 5,
                                useAdvancedFieldPicker: true,
                                advancedFieldPickerThreshold: 5
                        });       
                       
                        gridObject.editHilites();
                       
        </script>
        <br><br>

</body>

</html>


Viewing all articles
Browse latest Browse all 4756

Trending Articles