Can we add a DisplayMsg property to the next release

May 16, 2012 at 5:23 AM

I want to change the displayMsg config of a grid panel's SimplePagingToolbar can somebody give me a instruction?

Coordinator
Aug 16, 2012 at 4:13 AM
Edited Aug 16, 2012 at 4:13 AM

There is no easy way to do it before,only if you modify the source code of ExtAspNet.

 

Few minutes ago, I added a new interface and you can achieve this through:

    <script>
        function onInit() {
            if (Ext.ux.SimplePagingToolbar) {
                Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
                    displayMsg: "Total {2} Current {0} - {1}"
                });
            }
        }
    </script>
    </form>
</body>
</html>

 

Note: you must download 81031 to build ExtAspNet yourself. This feature will be in ExtAspNet v3.1.9.